Skip to content

Glossary: MongoDB

$group

An aggregation stage that combines documents into one result per group. Its `_id` says what to group by, and the other fields are accumulators.

Where the book teaches it

Related terms

AccumulatorStageField path