Aggregation Reference
On this page
This version of the documentation is archived and no longer
supported. View the current documentation to learn how to
upgrade your version of MongoDB.
You can run aggregation pipelines in the UI for deployments hosted in MongoDB Atlas.
Aggregation Resources
- Aggregation Pipeline Quick Reference
- Quick reference card for aggregation pipeline.
- Aggregation Commands
- The reference for the data aggregation commands, which provide the interfaces to MongoDB's aggregation capability.
- Aggregation Commands Comparison
- A comparison of
mapReduce
andaggregate
commands. - Aggregation Pipeline Operators
- Aggregation pipeline operations have a collection of operators available to define and manipulate documents in pipeline stages.
- Variables in Aggregation Expressions
- Use of variables in aggregation pipeline expressions.
- 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.
- Practical MongoDB Aggregations (e-book)
- For more information on aggregations, read the Practical MongoDB Aggregations e-book.