is an object which represents a MongoDB collection.


MongoCollection
is an object which represents a MongoDB collection.
Details and Options
- To use MongoCollection, you first need to load MongoLink using Needs["MongoLink`"].
- MongoCollection objects are typically created via MongoGetCollection.
- MongoCollection objects are stateful, containing a connection to a MongoDB database.
- RandomSample[MongoCollection[…],n] can be used to randomly sample n documents from the MongoCollection[…].
Tech Notes
Related Guides
Text
Wolfram Research (2018), MongoCollection, Wolfram Language function, https://reference.wolfram.com/language/MongoLink/ref/MongoCollection.html.
CMS
Wolfram Language. 2018. "MongoCollection." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/MongoLink/ref/MongoCollection.html.
APA
Wolfram Language. (2018). MongoCollection. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/MongoLink/ref/MongoCollection.html
BibTeX
@misc{reference.wolfram_2025_mongocollection, author="Wolfram Research", title="{MongoCollection}", year="2018", howpublished="\url{https://reference.wolfram.com/language/MongoLink/ref/MongoCollection.html}", note=[Accessed: 16-August-2025]}
BibLaTeX
@online{reference.wolfram_2025_mongocollection, organization={Wolfram Research}, title={MongoCollection}, year={2018}, url={https://reference.wolfram.com/language/MongoLink/ref/MongoCollection.html}, note=[Accessed: 16-August-2025]}