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

Expose bulk operations in Bulk Result

    XMLWordPrintable

Details

    • Task
    • Status: Closed
    • Blocker - P1
    • Resolution: Fixed
    • None
    • 4.0.0
    • Shell
    • None

    Description

      Right now there's no way to access the operations/batches after a bulk op is executed. See: https://docs.mongodb.com/manual/reference/method/Bulk.getOperations/

       

      Right now we're looking directly in `BulkOp.s.batches`/currentBatch/currentUpdateBatch/currentInsertBatch/currentRemoveBatch to find the list of operations/batches. Is there a better way?

      Attachments

        Activity

          People

            eric.adum@mongodb.com Eric Adum (Inactive)
            anna.herlihy@mongodb.com Anna Herlihy (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: