Docs Menu

Aggregation Commands

Note

For details on specific commands, including syntax and examples, click on the specific command to go to its reference page.

Name
Description
Performs aggregation tasks such as group using the aggregation framework.
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.

For a detailed comparison of the different approaches, see Aggregation Commands Comparison.

Give Feedback
© 2021 MongoDB, Inc.

About

  • Careers
  • Legal Notices
  • Privacy Notices
  • Security Information
  • Trust Center
© 2021 MongoDB, Inc.