MongoLink`
MongoLink`

MongoCursorSetBatchSize

MongoCursorSetBatchSize[MongoCursor[],size]

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

更多信息和选项

范例

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

文本

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

CMS

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

APA

Wolfram 语言. (2018). MongoCursorSetBatchSize. Wolfram 语言与系统参考资料中心. 追溯自 https://reference.wolfram.com/language/MongoLink/ref/MongoCursorSetBatchSize.html 年

BibTeX

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

BibLaTeX

@online{reference.wolfram_2024_mongocursorsetbatchsize, organization={Wolfram Research}, title={MongoCursorSetBatchSize}, year={2018}, url={https://reference.wolfram.com/language/MongoLink/ref/MongoCursorSetBatchSize.html}, note=[Accessed: 22-November-2024 ]}