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

FindAndModify and FindAndRemove should not throw an exception when no matching document is found

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 1.1
    • Affects Version/s: 1.0
    • Component/s: None
    • Labels:
      None

      The server returns an error for the findAndModify command when no matching document is found, causing the driver to throw an exception. The server is going to be changed some day to no return an error, but in the meantime the driver should be changed to ignore this particular error and not throw an exception.

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

              Created:
              Updated:
              Resolved: