You are viewing an offline version of MongoDB documentation. Some page features might be unavailable. To view the latest version of the page or use interactive features, visit the live page.
Aggregation Database Commands and Methods
Note
For details on a specific operator, including syntax and examples, click on the link to the operator's reference page.
Aggregation Commands
Name | Description |
---|---|
Performs aggregation tasks such as | |
Counts the number of documents in a collection or a view. | |
Displays the distinct values found for a specified key in a collection or a view. | |
Performs map-reduce aggregation for large data sets. |
Aggregation Methods
Name | Description |
---|---|
Provides access to the aggregation pipeline. | |
Performs map-reduce aggregation for large data sets. |