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.
- has to be done before
-
CXX-1349 Implement manual read/write concern tests described in spec
- Closed
- is related to
-
CDRIVER-1048 Add generic mongoc_find_and_modify_opts_append
- Closed
-
CDRIVER-2227 "Commands with opts" tutorial
- Closed