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