MongoLink`
MongoLink`

MongoCursorToArray

MongoCursorToArray[MongoCursor[]]

takes a MongoCursor object and returns a list of all remaining documents.

Details and Options

Examples

open allclose all

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 all of the documents in the collection:

This is equivalent to:

Scope  (1)

Connect to a client:

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

Find all of the documents in the collection:

View all of the documents as a dataset:

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

Text

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

CMS

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

APA

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

BibTeX

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

BibLaTeX

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