MongoLink`
MongoLink`

MongoCollectionAggregate

MongoCollectionAggregate[MongoCollection[],pipeline]

calculates aggregate values for the data in a MongoCollection.

Details and Options

Examples

Basic Examples  (1)

Connect to a client:

Connect to a the "WolframTestCollection" collection in the "WolframTestDB" database:

Aggregate values for count and average, grouped by sex:

View aggregated data:

Wolfram Research (2018), MongoCollectionAggregate, Wolfram Language function, https://reference.wolfram.com/language/MongoLink/ref/MongoCollectionAggregate.html.

Text

Wolfram Research (2018), MongoCollectionAggregate, Wolfram Language function, https://reference.wolfram.com/language/MongoLink/ref/MongoCollectionAggregate.html.

CMS

Wolfram Language. 2018. "MongoCollectionAggregate." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/MongoLink/ref/MongoCollectionAggregate.html.

APA

Wolfram Language. (2018). MongoCollectionAggregate. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/MongoLink/ref/MongoCollectionAggregate.html

BibTeX

@misc{reference.wolfram_2024_mongocollectionaggregate, author="Wolfram Research", title="{MongoCollectionAggregate}", year="2018", howpublished="\url{https://reference.wolfram.com/language/MongoLink/ref/MongoCollectionAggregate.html}", note=[Accessed: 21-December-2024 ]}

BibLaTeX

@online{reference.wolfram_2024_mongocollectionaggregate, organization={Wolfram Research}, title={MongoCollectionAggregate}, year={2018}, url={https://reference.wolfram.com/language/MongoLink/ref/MongoCollectionAggregate.html}, note=[Accessed: 21-December-2024 ]}