@@ -50,7 +50,7 @@ Open a Change Stream
50
50
51
51
To open a change stream, call the ``watch()`` method. The instance on which you
52
52
call the ``watch()`` method determines the scope of events that the change
53
- stream monitors. You can call the ``watch()`` method on the following
53
+ stream monitors. You can call the ``watch()`` method on instances of the following
54
54
classes:
55
55
56
56
- ``MongoDB\Client``: Monitor all changes in the MongoDB deployment
@@ -182,7 +182,7 @@ change, specify the ``fullDocumentBeforeChange`` or the ``fullDocument``
182
182
options in an array parameter to ``watch()``.
183
183
184
184
The **pre-image** is the full version of a document *before* a change. To include the
185
- pre-image in the change stream event, set the ``fullDocumentBeforeChange`` field
185
+ pre-image in the change stream event, set the ``fullDocumentBeforeChange`` option
186
186
to one of the following values:
187
187
188
188
- ``MongoDB\Operation\Watch::FULL_DOCUMENT_BEFORE_CHANGE_WHEN_AVAILABLE``: The change event includes
@@ -193,7 +193,7 @@ to one of the following values:
193
193
{+php-library+} raises an error.
194
194
195
195
The **post-image** is the full version of a document *after* a change. To include the
196
- post-image in the change stream event, set the ``fullDocument`` field to
196
+ post-image in the change stream event, set the ``fullDocument`` option to
197
197
one of the following values:
198
198
199
199
- ``MongoDB\Operation\Watch::FULL_DOCUMENT_UPDATE_LOOKUP``: The change event includes a
0 commit comments