Docs Menu
Docs Home
/
MongoDB Manual
/ /

Aggregation Commands

On this page

  • Aggregation Commands
  • Aggregation Methods

Note

For details on a specific operator, including syntax and examples, click on the link to the operator's reference page.

Name
Description

aggregate

Performs aggregation tasks such as $group using an aggregation pipeline.

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.

Name
Description

Provides access to the aggregation pipeline.

Performs map-reduce aggregation for large data sets.

Back

Quick Reference