MongoLink`
MongoLink`

MongoCursorGetBatchSize

MongoCursorGetBatchSize[MongoCursor[]]

returns the batch size of a MongoCursor[] object.

Details and Options

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:

Wolfram Research (2018), MongoCursorGetBatchSize, Wolfram Language function, https://reference.wolfram.com/language/MongoLink/ref/MongoCursorGetBatchSize.html.

Text

Wolfram Research (2018), MongoCursorGetBatchSize, Wolfram Language function, https://reference.wolfram.com/language/MongoLink/ref/MongoCursorGetBatchSize.html.

CMS

Wolfram Language. 2018. "MongoCursorGetBatchSize." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/MongoLink/ref/MongoCursorGetBatchSize.html.

APA

Wolfram Language. (2018). MongoCursorGetBatchSize. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/MongoLink/ref/MongoCursorGetBatchSize.html

BibTeX

@misc{reference.wolfram_2024_mongocursorgetbatchsize, author="Wolfram Research", title="{MongoCursorGetBatchSize}", year="2018", howpublished="\url{https://reference.wolfram.com/language/MongoLink/ref/MongoCursorGetBatchSize.html}", note=[Accessed: 21-December-2024 ]}

BibLaTeX

@online{reference.wolfram_2024_mongocursorgetbatchsize, organization={Wolfram Research}, title={MongoCursorGetBatchSize}, year={2018}, url={https://reference.wolfram.com/language/MongoLink/ref/MongoCursorGetBatchSize.html}, note=[Accessed: 21-December-2024 ]}