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

Expose bulk operations in Bulk Result

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Blocker - P1 Blocker - P1
    • 4.0.0
    • Affects Version/s: None
    • Component/s: Shell
    • Labels:
      None

      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?

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

              Created:
              Updated:
              Resolved: