Check mongoc_collection_find_and_modify_with_opts doc.
Also note that mongoc_client_command / mongoc_client_command_simple and the same for DB and collection do not parse server reply for writeConcernError.
- is related to
-
CDRIVER-1460 on writeConcernError, parse wc err and return false in commands that write
- Closed
-
CDRIVER-1350 mongoc_collection_find_and_modify_with_opts can return true on writeConcernError
- Closed