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

Typo in $addToSet page

    XMLWordPrintableJSON

Details

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

    Description

      In the first command example:

      db.collection.update( { field: value }, { $addToSet: { field: value1 } } );

      The first value should be value1, according to its explanation.

      Attachments

        Activity

          People

            sam.kleinman Sam Kleinman (Inactive)
            siyuan.zhou@mongodb.com Siyuan Zhou
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              10 years, 21 weeks, 1 day ago