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

add example of $set with multiple fields.

    XMLWordPrintableJSON

Details

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

    Description

      The documentation for

      $set

      at http://docs.mongodb.org/manual/reference/operator/set/#op._S_set only has an example for setting one field, but you can also use multiple fields with one $set. Please add that example to $set, and also to other operators at http://docs.mongodb.org/manual/reference/operator/update-field/

      Attachments

        Activity

          People

            kay.kim@mongodb.com Kay Kim (Inactive)
            derick Derick Rethans
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              10 years, 19 weeks, 6 days ago