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 2dddcc0 commit 9a84890Copy full SHA for 9a84890
src/mongocxx/collection.cpp
@@ -112,7 +112,7 @@ mongocxx::stdx::optional<bsoncxx::document::value> find_and_modify(
112
if (!options.write_concern()->is_acknowledged() && options.collation()) {
113
throw mongocxx::logic_error{mongocxx::error_code::k_invalid_parameter};
114
}
115
- extra.append(concatenate(options.write_concern()->to_document()));
+ extra.append(kvp("writeConcern", options.write_concern()->to_document()));
116
117
118
if (session_t) {
0 commit comments