Uploaded image for project: 'C++ Driver'
  1. C++ Driver
  2. CXX-1565

Use mongoc_collection_find_and_modify_with_opts

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 3.3.0-rc0
    • Affects Version/s: None
    • Component/s: Implementation
    • 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 Unassigned
            Reporter:
            jesse@mongodb.com A. Jesse Jiryu Davis
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: