File tree Expand file tree Collapse file tree 1 file changed +13
-7
lines changed Expand file tree Collapse file tree 1 file changed +13
-7
lines changed Original file line number Diff line number Diff line change @@ -60,21 +60,27 @@ following table describes each field in the change stream response document:
60
60
61
61
* - ``_id``
62
62
- document
63
- - Metadata related to the operation.
63
+ - .. _change-stream-event-id:
64
+
65
+ A :term:`BSON` object which serves as an identifier for the
66
+ change stream event. This value is used as the ``resumeToken``
67
+ for the ``resumeAfter`` parameter when resuming a change stream.
68
+ The ``_id`` object has the following form:
64
69
65
70
.. code-block:: none
66
71
67
72
{
68
73
"_data" : <BinData|hex string>
69
74
}
70
75
71
- Use this document as a ``resumeToken`` for the ``resumeAfter``
72
- parameter when resuming a change stream.
76
+ The ``_data`` type depends on the MongoDB versions
77
+ and, in some cases, the :ref:`feature compatibility version (fCV)
78
+ <view-fcv>` at the time of the change stream's
79
+ opening/resumption. See :ref:`change-stream-resume-token` for the
80
+ full list of ``_data`` types.
73
81
74
- The resume token ``_data`` type depends on the MongoDB versions
75
- and, in some cases, the feature compatibility version (fcv) at
76
- the time of the change stream's opening/resumption. For details,
77
- see :ref:`change-stream-resume-token`.
82
+ See :ref:`change-stream-resume` for an example of resuming a
83
+ change stream by ``resumeToken``.
78
84
79
85
* - ``operationType``
80
86
- string
You can’t perform that action at this time.
0 commit comments