-
Type: Bug
-
Resolution: Done
-
Priority: Minor - P4
-
Affects Version/s: None
-
Component/s: None
-
None
-
Empty show more show less
collection.aggregate([ { $match: { a: 1 } }, { $limit: 6 } ], { cursor: { batchSize: 2 } });
The code defined above will return a `Cursor` which returns an initial batch of size 2, but subsequent batches that contain up to the default batchSize of 1000.