MongoLink`
MongoLink`

MongoCursorNext

MongoCursorNext[MongoCursor[]]

returns the next document in the MongoCursor[] object.

Details

Examples

Basic Examples  (1)

Connect to a client:

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

Find all of the documents in the collection:

View documents in the collection one at a time:

When there are no more documents in the cursor, nothing will be returned:

This is equivalent to:

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

Text

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

BibTeX

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

BibLaTeX

@online{reference.wolfram_2021_mongocursornext, organization={Wolfram Research}, title={MongoCursorNext}, year={2018}, url={https://reference.wolfram.com/language/MongoLink/ref/MongoCursorNext.html}, note=[Accessed: 03-December-2021 ]}

CMS

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

APA

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