[DOCS-5524] Comment on: "manual/reference/operator/aggregation/push.txt" Created: 01/Jun/15 Updated: 03/Nov/17 Resolved: 01/Jun/15 |
|
| Status: | Closed |
| Project: | Documentation |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 01112017-cleanup |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Khalid Reid | Assignee: | Kay Kim (Inactive) |
| Resolution: | Done | Votes: | 0 |
| Labels: | collector-298ba4e7 | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
Location: http://docs.mongodb.org/manual/reference/operator/aggregation/push/ |
||
| Participants: | |
| Days since reply: | 8 years, 37 weeks, 2 days ago |
| Description |
|
Grouping the documents by the day and the year of the date field, the following operation uses the $addToSet accumulator to compute the list of items and quantities sold for each group: Should be Grouping the documents by the day and the year of the date field, the following operation uses the $push accumulator to compute the list of items and quantities sold for each group Note the change to "$push". |
| Comments |
| Comment by Githook User [ 01/Jun/15 ] |
|
Author: {u'username': u'kay-kim', u'name': u'kay', u'email': u'kay.kim@10gen.com'}Message: |
| Comment by Githook User [ 01/Jun/15 ] |
|
Author: {u'username': u'kay-kim', u'name': u'kay', u'email': u'kay.kim@10gen.com'}Message: |