MongoDatabaseGetCollectionInfos[MongoDatabase[…]]
obtain information the MongoDatabase[…]
MongoDatabaseGetCollectionInfos[MongoDatabase[…], filter]
obtain information matching the filter filter
MongoDatabaseGetCollectionInfos
MongoDatabaseGetCollectionInfos[MongoDatabase[…]]
obtain information the MongoDatabase[…]
MongoDatabaseGetCollectionInfos[MongoDatabase[…], filter]
obtain information matching the filter filter
更多信息和选项
- To use MongoCollectionStats, you first need to load MongoLink using Needs["MongoLink`"].
- MongoCollectionStats returns a Dataset.
- filter is an Association
范例
基本范例 (1)
Needs["MongoLink`"]client = MongoConnect[]Connect to the "WolframTestDB" database:
db = client["WolframTestDB"]Obtain information about the database:
res = MongoDatabaseGetCollectionInfos[db]Obtain information about a specific collection using a filter:
res = MongoDatabaseGetCollectionInfos[db, <|"Name" -> "WolframTestCollection"|>]技术笔记
文本
Wolfram Research (2020),MongoDatabaseGetCollectionInfos,Wolfram 语言函数,https://reference.wolfram.com/language/MongoLink/ref/MongoDatabaseGetCollectionInfos.html.
CMS
Wolfram 语言. 2020. "MongoDatabaseGetCollectionInfos." Wolfram 语言与系统参考资料中心. Wolfram Research. https://reference.wolfram.com/language/MongoLink/ref/MongoDatabaseGetCollectionInfos.html.
APA
Wolfram 语言. (2020). MongoDatabaseGetCollectionInfos. Wolfram 语言与系统参考资料中心. 追溯自 https://reference.wolfram.com/language/MongoLink/ref/MongoDatabaseGetCollectionInfos.html 年
BibTeX
@misc{reference.wolfram_2026_mongodatabasegetcollectioninfos, author="Wolfram Research", title="{MongoDatabaseGetCollectionInfos}", year="2020", howpublished="\url{https://reference.wolfram.com/language/MongoLink/ref/MongoDatabaseGetCollectionInfos.html}", note=[Accessed: 15-August-2026]}
BibLaTeX
@online{reference.wolfram_2026_mongodatabasegetcollectioninfos, organization={Wolfram Research}, title={MongoDatabaseGetCollectionInfos}, year={2020}, url={https://reference.wolfram.com/language/MongoLink/ref/MongoDatabaseGetCollectionInfos.html}, note=[Accessed: 15-August-2026]}