Uploaded image for project: 'Node.js Driver'
  1. Node.js Driver
  2. NODE-2660

Throw an error if bulk update documents don't contain update operator expressions

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 3.6.0
    • Affects Version/s: 3.5.9
    • Component/s: None
    • None

      .The internal update command can accept both:

      The bulk command doesn't perform any additional validation, it merely passes the user-specified update document through to the internal update command.

      However, it should not allow a replacement document, only documents with update operator expressions.

            Assignee:
            matt.broadstone@mongodb.com Matt Broadstone
            Reporter:
            eric.adum@mongodb.com Eric Adum (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: