Uploaded image for project: 'Drivers'
  1. Drivers
  2. DRIVERS-626

Add the ability to specify a pipeline to an update command

    XMLWordPrintable

Details

    • Task
    • Status: Implementing
    • Major - P3
    • Resolution: Unresolved
    • None
    • None

    Description

      CRUD specification update

      Extend the update command to take an object or an array:

      {
         update: <collection>,
         updates: [
            { q: <query>, u: <update obj OR update pipeline>, upsert: <boolean>,
              multi: <boolean>, collation: <document>, arrayFilters: <array> },
            { q: <query>, u: <update obj OR update pipeline>, upsert: <boolean>,
              multi: <boolean>, collation: <document>, arrayFilters: <array> },
            ...
         ],
         ordered: <boolean>,
         writeConcern: { <write concern> },
         bypassDocumentValidation: <boolean>
      }
      

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              charlie.swanson@mongodb.com Charlie Swanson
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated: