@@ -51,6 +51,10 @@ class Watch implements Executable
51
51
*
52
52
* Supported options:
53
53
*
54
+ * * batchSize (integer): The number of documents to return per batch.
55
+ *
56
+ * * collation (document): Specifies a collation.
57
+ *
54
58
* * fullDocument (string): Determines whether the "fullDocument" field
55
59
* will be populated for update operations. By default, change streams
56
60
* only return the delta of fields during the update operation (via the
@@ -61,31 +65,17 @@ class Watch implements Executable
61
65
* Insert and replace operations always include the "fullDocument" field
62
66
* and delete operations omit the field as the document no longer exists.
63
67
*
64
- * * resumeAfter (document): Specifies the logical starting point for the
65
- * new change stream.
66
- *
67
- * * readConcern (MongoDB\Driver\ReadConcern): Read concern. Note that a
68
- * "majority" read concern is not compatible with the $out stage
68
+ * * maxAwaitTimeMS (integer): The maximum amount of time for the server to
69
+ * wait on new documents to satisfy a change stream query.
69
70
*
70
- * This is not supported for server versions < 3.2 and will result in an
71
- * exception at execution time if used.
71
+ * * readConcern (MongoDB\Driver\ReadConcern): Read concern.
72
72
*
73
73
* * readPreference (MongoDB\Driver\ReadPreference): Read preference. This
74
74
* will be used to select a new server when resuming. Defaults to a
75
75
* "primary" read preference.
76
76
*
77
- * * maxAwaitTimeMS (integer): The maximum amount of time for the server to
78
- * wait on new documents to satisfy a change stream query.
79
- *
80
- * * batchSize (integer): The number of documents to return per batch.
81
- *
82
- * This option is sent only if the caller explicitly provides a value.
83
- * The default is to not send a value.
84
- *
85
- * * collation (document): Specifies a collation.
86
- *
87
- * This option is sent only if the caller explicitly provides a value.
88
- * The default is to not send a value.
77
+ * * resumeAfter (document): Specifies the logical starting point for the
78
+ * new change stream.
89
79
*
90
80
* @param string $databaseName Database name
91
81
* @param string $collectionName Collection name
0 commit comments