MongoCollectionCount
MongoCollectionCount[MongoCollection[…]]
counts the number of documents in MongoCollection.
MongoCollectionCount[MongoCollection[…], query]
counts the number of documents in MongoCollection matching the query query.
Details and Options
- To use MongoCollectionCount, you first need to load MongoLink using Needs["MongoLink`"].
- query is an Association.
- See "Query and Projection Operators" in the MongoDB manual for available query operators.
- MongoCollectionCount corresponds to db.collection.count in the MongoDB manual.
Examples
Text
Wolfram Research (2018), MongoCollectionCount, Wolfram Language function, https://reference.wolfram.com/language/MongoLink/ref/MongoCollectionCount.html.
CMS
Wolfram Language. 2018. "MongoCollectionCount." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/MongoLink/ref/MongoCollectionCount.html.
APA
Wolfram Language. (2018). MongoCollectionCount. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/MongoLink/ref/MongoCollectionCount.html