Skip to content

Commit e9aab32

Browse files
committed
rr feedback
1 parent c18ef44 commit e9aab32

File tree

4 files changed

+9
-13
lines changed

4 files changed

+9
-13
lines changed

source/includes/extracts-watch-option.yaml

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,9 @@ ref: watch-option-batchSize
22
content: |
33
The maximum number of documents within each batch returned in a query result, which applies
44
to the ``aggregate`` command. By default, the ``aggregate`` command has an initial batch size of
5-
``101`` documents and a maximum size of 16 mebibytes for each subsequent batch. This
6-
option can enforce a smaller limit than 16 mebibytes, but not a larger
7-
one. If you set ``batchSize`` to a limit that results in batches larger than
8-
16 MiB, this option has no effect.
9-
10-
This command determines the maximum number of change events to return in each response from the
11-
server.
5+
``101`` documents and a maximum size of 16 mebibytes (MiB) for each subsequent batch. This
6+
option can enforce a smaller limit than 16 MiB, but not a larger one. If you set ``batchSize``
7+
to a limit that results in batches larger than 16 MiB, this option has no effect.
128
---
139
ref: watch-option-fullDocument
1410
content: |

source/read/retrieve.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -182,8 +182,8 @@ you can set in the array:
182182
* - ``batchSize``
183183
- | The maximum number of documents within each batch returned in a query result. By default,
184184
the ``find()`` method has an initial batch size of ``101`` documents
185-
and a maximum size of 16 mebibytes for each subsequent batch. This
186-
option can enforce a smaller limit than 16 mebibytes, but not a larger
185+
and a maximum size of 16 mebibytes (MiB) for each subsequent batch. This
186+
option can enforce a smaller limit than 16 MiB, but not a larger
187187
one. If you set ``batchSize`` to a limit that results in batches larger than
188188
16 MiB, this option has no effect.
189189
| **Type**: ``integer``

source/reference/method/MongoDBCollection-find.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,13 +54,13 @@ Parameters
5454
- integer
5555
- The maximum number of documents to return in the first batch. By default, the ``find()``
5656
command has an initial batch size of ``101`` documents. This
57-
option can enforce a smaller limit than 16 mebibytes, but not a larger
57+
option can enforce a smaller limit than 16 mebibytes (MiB), but not a larger
5858
one. If you set ``batchSize`` to a limit that results in batches larger than
5959
16 MiB, this option has no effect.
6060

6161
A batchSize of ``0`` means that the cursor will be established, but no documents
6262
will be returned in the first batch. This may be useful for quickly returning a cursor
63-
or failure from ``aggregate`` without doing significant server-side work.
63+
or failure without doing significant server-side work.
6464

6565
Unlike the previous wire protocol version, a batchSize of ``1`` for the
6666
:dbcommand:`find` command does not close the cursor.

source/reference/method/MongoDBDatabase-aggregate.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,8 +56,8 @@ Parameters
5656
- integer
5757
- The maximum number of documents within each batch returned in a query result.
5858
By default, the ``aggregate`` command has an initial batch size of
59-
``101`` documents and a maximum size of 16 mebibytes for each subsequent batch. This
60-
option can enforce a smaller limit than 16 mebibytes, but not a larger
59+
``101`` documents and a maximum size of 16 mebibytes (MiB) for each subsequent batch. This
60+
option can enforce a smaller limit than 16 MiB, but not a larger
6161
one. If you set ``batchSize`` to a limit that results in batches larger than
6262
16 MiB, this option has no effect.
6363

0 commit comments

Comments
 (0)