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

Include update validation rules

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • 01112017-cleanup
    • mongodb-2.6
    • manual
    • None

    Description

      Add notes that modifiers cannot be empty, nor repeated:

      {$set:{}}
      {$set:{a:1}, $set:{b:1}}

      Note: These are (undocumented) behavior changes and while never documented (and still not) we should note that the implementation details might be significant to existing applications and/or users.

      Attachments

        Activity

          People

            kay.kim@mongodb.com Kay Kim (Inactive)
            scotthernandez Scott Hernandez (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              9 years, 38 weeks, 1 day ago