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

Link for documentation on "$push" in agg framework goes to "$push" for update()

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major - P3 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.

      Attachments

        Activity

          People

            sam.kleinman Sam Kleinman (Inactive)
            mikeo@mongodb.com Michael O'Brien
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              11 years ago