Uploaded image for project: 'Documentation'
  1. Documentation
  2. DOCS-5524

Comment on: "manual/reference/operator/aggregation/push.txt"

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • 01112017-cleanup
    • None
    • None

    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".

      Attachments

        Activity

          People

            kay.kim@mongodb.com Kay Kim (Inactive)
            kreid Khalid Reid
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              8 years, 37 weeks, 2 days ago