MongoLink`
MongoLink`

MongoCursor

MongoCursor[]

is an object which represents a cursor for iterating through documents in a MongoDB collection.

更多信息和选项

范例

基本范例  (1)

Connect to a client:

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

Find all of the documents in the collection and return a result cursor:

Read the first document in the cursor:

Read the second document in the cursor:

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

文本

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

CMS

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

APA

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

BibTeX

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

BibLaTeX

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