Support Bulk Write API 2.0

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Done
    • Priority: Major - P3
    • 2.5.0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Needed
    • Hide

      New bulkWrite(...) command for Mongo instances.

      As stated for the driver, this API is meant to replace the existing bulk write API on the Collection as it supports a bulk write across multiple databases and collections in a single call.
      The command uses the active mongosh client and replicates the API from the driver in form of
      Mongo().bulkWrite([

      {namespace: string | Collection /** '<db>.<collection>' */,name: ‘<operation>’,/* Other operation-specific props */}

      , ...]);
      See also: https://github.com/mongodb-js/mongosh/pull/2416

       

      Show
      New bulkWrite(...) command for Mongo instances. As stated for the driver , this API is meant to replace the existing bulk write API on the Collection as it supports a bulk write across multiple databases and collections in a single call. The command uses the active mongosh client and replicates the API from the driver in form of Mongo().bulkWrite([ {namespace: string | Collection /** '<db>.<collection>' */,name: ‘<operation>’,/* Other operation-specific props */} , ...]); See also: https://github.com/mongodb-js/mongosh/pull/2416  

      Support for new BulkWrite API in the MongoDB Shell.

              Assignee:
              Gagik Amaryan
              Reporter:
              Jessica Sigafoos
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: