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

Save calls Insert instead of Update with string _id

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • 0.9
    • 0.7
    • None
    • None

    Description

      When calling Save with a document that has a string Id Save calls Insert instead of Update and the Insert fails with a duplicate Id exception.

      Attachments

        Activity

          People

            robert@mongodb.com Robert Stam
            robert@mongodb.com Robert Stam
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: