Determine affected documents after BulkWrite

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Works as Designed
    • Priority: Unknown
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      It would be nice if there was a way to determine which documents are affected by operations during BulkWrite.

      I was able to find a sample response here which contain the properties `insertedIds` and `upsertedIds`. These properties are not present in the BulkWriteResult .NET class or its derived classes.

      If the MongoDB API supports returning deletedIds and replacedIds as well it would be nice to include those

       

            Assignee:
            Robert Stam
            Reporter:
            Aleksander Sleire
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: