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

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: 3.5.9
    • Fix Version/s: 3.6.0
    • Component/s: None
    • Labels:
      None

      Description

      .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.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              matt.broadstone Matt Broadstone
              Reporter:
              eric.adum Eric Adum
              Participants:
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: