MongoCollectionCount[MongoCollection[…]]
MongoCollection内のドキュメントの数を数える.
MongoCollectionCount[MongoCollection[…], query]
MongoCollection内のクエリ query に合致するドキュメントの数を数える.
MongoCollectionCount
MongoCollectionCount[MongoCollection[…]]
MongoCollection内のドキュメントの数を数える.
MongoCollectionCount[MongoCollection[…], query]
MongoCollection内のクエリ query に合致するドキュメントの数を数える.
詳細とオプション
- MongoCollectionCountを使用するためには,まずNeeds["MongoLink`"]を使ってMongoLinkをロードする必要がある.
- query はAssociation(連想)である.
- 利用できるその他のクエリ演算子は,MongoDBのマニュアルの「Query and Projection Operators」を参照されたい.
- MongoCollectionCountはMongoDBのマニュアルのdb.collection.countに相当する.
テクニカルノート
関連するガイド
テキスト
Wolfram Research (2018), MongoCollectionCount, Wolfram言語関数, 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
BibTeX
@misc{reference.wolfram_2025_mongocollectioncount, author="Wolfram Research", title="{MongoCollectionCount}", year="2018", howpublished="\url{https://reference.wolfram.com/language/MongoLink/ref/MongoCollectionCount.html}", note=[Accessed: 01-May-2026]}
BibLaTeX
@online{reference.wolfram_2025_mongocollectioncount, organization={Wolfram Research}, title={MongoCollectionCount}, year={2018}, url={https://reference.wolfram.com/language/MongoLink/ref/MongoCollectionCount.html}, note=[Accessed: 01-May-2026]}