MongoLink`
MongoLink`

MongoCursorGetBatchSize

MongoCursorGetBatchSize[MongoCursor[]]

returns the batch size of a MongoCursor[] object.

更多信息和选项

范例

基本范例  (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 语言函数,https://reference.wolfram.com/language/MongoLink/ref/MongoCursorGetBatchSize.html.

文本

Wolfram Research (2018),MongoCursorGetBatchSize,Wolfram 语言函数,https://reference.wolfram.com/language/MongoLink/ref/MongoCursorGetBatchSize.html.

CMS

Wolfram 语言. 2018. "MongoCursorGetBatchSize." Wolfram 语言与系统参考资料中心. Wolfram Research. https://reference.wolfram.com/language/MongoLink/ref/MongoCursorGetBatchSize.html.

APA

Wolfram 语言. (2018). MongoCursorGetBatchSize. Wolfram 语言与系统参考资料中心. 追溯自 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: 26-November-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: 26-November-2024 ]}