File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -147,8 +147,13 @@ of the watch functions:
147
147
- Description
148
148
149
149
* - ``batchSize``
150
- - | Sets the number of documents to return per batch.
151
-
150
+ - | The maximum number of documents that a change stream can
151
+ return in each batch, which applies to the watch function.
152
+ By default, watch functions have an initial batch size of ``101``
153
+ documents and a maximum size of 16 mebibytes (MiB) for each subsequent
154
+ batch. This option can enforce a smaller limit than 16 MiB, but not a
155
+ larger one. For details, see :manual:`Cursor Batches </tutorial/iterate-a-cursor/#std-label-cursor-batches>`
156
+ in the {+mdb-server+} manual.
152
157
153
158
* - ``comment``
154
159
- | Specifies a comment to attach to the operation.
You can’t perform that action at this time.
0 commit comments