We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4629521 commit deb3e38Copy full SHA for deb3e38
src/mongocxx/collection.cpp
@@ -111,7 +111,7 @@ mongocxx::stdx::optional<bsoncxx::document::value> find_and_modify(
111
if (!options.write_concern()->is_acknowledged() && options.collation()) {
112
throw mongocxx::logic_error{mongocxx::error_code::k_invalid_parameter};
113
}
114
- extra.append(concatenate(options.write_concern()->to_document()));
+ extra.append(kvp("writeConcern", options.write_concern()->to_document()));
115
116
117
if (session_t) {
0 commit comments