mongoc_client_command_with_opts.rst is missing read prefs arg (before bson_t *opts). Additionally, the current explanation of how various opts are parsed is incorrect, as f2d3db3 from CDRIVER-2207 talks about inheriting read preference from opts and doesn't mention that read concern requires a server version. It also states that "The write concern is omitted for MongoDB before 3.2", but write concern is only supported for findAndModify on 3.2 and other commands require 3.4+ (see: Server Wire version and Feature List).
- is related to
-
CDRIVER-2207 Introduce generic mongoc_client_command_with_opts() function
- Closed
-
CDRIVER-2227 "Commands with opts" tutorial
- Closed
- related to
-
CDRIVER-2410 _mongoc_client_command_with_opts omits client write concern for findAndModify on 3.2
- Closed
-
CDRIVER-2409 bypassDocumentValidation is not a write command option
- Closed