We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent faa659c commit ae451edCopy full SHA for ae451ed
source/read/change-streams.txt
@@ -147,8 +147,13 @@ of the watch functions:
147
- Description
148
149
* - ``batchSize``
150
- - | Sets the number of documents to return per batch.
151
-
+ - | The maximum number of documents that a change stream can
+ 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.
157
158
* - ``comment``
159
- | Specifies a comment to attach to the operation.
0 commit comments