Details
-
Bug
-
Resolution: Done
-
Major - P3
-
None
-
None
-
None
-
None
Description
http://docs.mongodb.org/manual/reference/aggregation/group/#_S_group
The details about $group have a list of operators at the bottom, one of them is $push. However it's linked to the doc page about $push for doing update(), which is confusing since the way they are used is a bit different. We should probably either have a separate page for each, or explain them both distinctly on that page with examples that cover both.
FWIW, same situation exists for $addToSet as well.