-
Type: Task
-
Resolution: Done
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
Labels:None
The documentation at http://docs.mongodb.org/manual/reference/aggregation/push/ misses an example on how to use push (unlike min/max, which have examples).
The documentation also doesn't offer on how you push the whole document as value to the pushed array either, which I think isn't possible as https://jira.mongodb.org/browse/SERVER-5916 hasn't been implemented yet.