ANNOUNCEMENT: Voyage AI joins MongoDB to power more accurate and trustworthy AI applications on Atlas.
Learn more
Docs Menu

Aggregation Reference

You can run aggregation pipelines in the UI for deployments hosted in MongoDB Atlas.

Aggregation Database Commands and Methods
The reference for the data aggregation commands, which provide the interfaces to MongoDB's aggregation capability.
Aggregation Stages
Reference for aggregation pipeline stages. Aggregation pipelines are made up of an array of stages. Documents pass through each stage in sequence.
Variables in Aggregation Expressions
Use of variables in aggregation pipeline expressions.
MongoDB Query Language Reference
Reference for MQL. Use MQL operators and expressions in aggregations and other MQL queries.
SQL to Aggregation Mapping Chart
An overview common aggregation operations in SQL and MongoDB using the aggregation pipeline and operators in MongoDB and common SQL statements.
Aggregation Commands Comparison
A comparison of mapReduce and aggregate commands.
Practical MongoDB Aggregations (e-book)
For more information on aggregations, read the Practical MongoDB Aggregations e-book.