Validate modifiers for updates, error if invalid.

XMLWordPrintableJSON

    • Query
    • Fully Compatible
    • ALL
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      For modifiers like $addToSet/$inc/$push/etc if there are invalid options ($fields included) then generate an error.

      > db.c.update({}, {$addToSet:{a: {$foo:1, $each :[], $sort:..., $slice:... }}})
      

              Assignee:
              Backlog - Query Team (Inactive)
              Reporter:
              Scott Hernandez (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: