Skip to content

Commit 9d22111

Browse files
committed
add for distinct
1 parent 9ed6ab9 commit 9d22111

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

source/read/distinct.txt

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,12 @@ The following table describes some methods you can use to customize the
113113
- Description
114114

115115
* - ``batchSize()``
116-
- | Sets the number of documents to return per batch.
116+
- | Sets the number of documents to return per batch. By default, returns an initial batch size
117+
of ``101`` documents and a maximum size of 16 mebibytes (MiB) for each subsequent batch.
118+
This option can enforce a smaller limit than 16 MiB, but not a larger one.
119+
120+
| A ``batchSize`` of ``0`` means that the cursor will be established, but no documents
121+
will be returned in the first batch.
117122

118123
* - ``collation()``
119124
- | Specifies the kind of language collation to use when sorting

0 commit comments

Comments
 (0)