Uploaded image for project: 'C# Driver'
  1. C# Driver
  2. CSHARP-3961

Determine affected documents after BulkWrite

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Works as Designed
    • Icon: Unknown Unknown
    • None
    • None
    • None
    • None

    Description

      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

       

      Attachments

        Activity

          People

            robert@mongodb.com Robert Stam
            alesle@signicat.com Aleksander Sleire
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: