Add write concern option to find_and_modify_with_opts

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: Minor - P4
    • 1.8.0
    • Affects Version/s: None
    • Component/s: libmongoc
    • None
    • None
    • Minor Change
    • None
    • None
    • None
    • None
    • None
    • None

      The findAndModify command accepts a write concern option different from the collection-wide write concern. As such, mongoc_collection_find_and_modify_with_opts should accept a write concern as an option via find_and_modify_opts_t.

      According to read/write concern spec, this function should also throw an error if a write concern is specified and maxWireVersion < 4.

              Assignee:
              Unassigned
              Reporter:
              Patrick Freed
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: