MongoLink`
MongoLink`

MongoCursorSetBatchSize

MongoCursorSetBatchSize[MongoCursor[],size]

sets the number of documents MongoCursor[] will return as specified by size.

Details

Examples

Basic Examples  (1)

Connect to a MongoDB server running locally:

Connect to a the "WolframTestCollection" collection in the "WolframTestDB" database:

Find all of the documents in the collection:

Find the batch size of the cursor:

Set the batch size to 100:

Find the updated batch size of the cursor: