Use mongoc_collection_find_and_modify_with_opts

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Fixed
    • Priority: Major - P3
    • 3.3.0-rc0
    • Affects Version/s: None
    • Component/s: Implementation
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      The C++ Driver uses mongoc_collection_write_command_with_opts to send the "findAndModify" command. This is fine, but it's more expected (and therefore less prone to future bugs when the drivers' expectations diverge) to use the C Driver's dedicated helper method.

              Assignee:
              Unassigned
              Reporter:
              A. Jesse Jiryu Davis
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: