$group
54/96
Reformat Sub-Documents
Summating Fields and Counting
•
Field reference, object, constant
•
Other output fields are computed
•
$max
,
$min
,
$avg
,
$sum
•
$addToSet
,
$push
•
$first
,
$last
•
Processes all data in memory