MongoLink`
MongoLink`

MongoCursorGetBatchSize

MongoCursorGetBatchSize[MongoCursor[]]

returns the batch size of a MongoCursor[] object.

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: