For AI agents: a documentation index is available at https://www.mongodb.com/docs/llms.txt — markdown versions of all pages are available by appending .md to any URL path.
Docs Menu

Aggregation Reference

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

Aggregation Database Commands and Methods

Reference for data aggregation commands.

Aggregation Stages

Reference for aggregation pipeline stages.

Variables in Aggregation Expressions

Use variables in aggregation pipeline expressions.

MongoDB Query Language Reference

Reference for MQL operators and expressions used in aggregations and other MQL queries.

SQL to Aggregation Mapping Chart

Compare common aggregation operations in SQL and MongoDB.

Aggregation Commands Comparison

Compare

mapReduce

and

aggregate.

Practical MongoDB Aggregations (e-book)
For more information on aggregations, read the Practical MongoDB Aggregations e-book.