MongoDB
Aggregation Commands
The aggregation pipeline provides powerful data processing capabilities. Learn to transform, group, and analyze data.
5 commands
Pro Tips
Put $match stages early in the pipeline to reduce data processed.
Add { allowDiskUse: true } for aggregations that exceed memory limits.