MongoLink`
MongoLink`

MongoCollectionCount

MongoCollectionCount[MongoCollection[]]

MongoCollection内のドキュメントの数を数える.

MongoCollectionCount[MongoCollection[], query]

MongoCollection内のクエリ query に合致するドキュメントの数を数える.

詳細とオプション

例題

  (1)

クライアントに接続する:

"WolframTestDB"データベース内の"WolframTestCollection"コレクションに接続する:

コレクション内のドキュメントの数を数える:

コレクション内でクエリ<|"sex""female"|>に合致するドキュメントの数を数える:

Wolfram Research (2018), MongoCollectionCount, Wolfram言語関数, https://reference.wolfram.com/language/MongoLink/ref/MongoCollectionCount.html.

テキスト

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_2024_mongocollectioncount, author="Wolfram Research", title="{MongoCollectionCount}", year="2018", howpublished="\url{https://reference.wolfram.com/language/MongoLink/ref/MongoCollectionCount.html}", note=[Accessed: 15-November-2024 ]}

BibLaTeX

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