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 216b613 commit b9bd6eeCopy full SHA for b9bd6ee
src/mongocxx/collection.cpp
@@ -91,7 +91,7 @@ mongocxx::stdx::optional<bsoncxx::document::value> find_and_modify(
91
if (!wc->is_acknowledged() && opts["collation"]) {
92
throw mongocxx::logic_error{mongocxx::error_code::k_invalid_parameter};
93
}
94
- opts_builder.append(concatenate(wc->to_document()));
+ opts_builder.append(kvp("writeConcern", wc->to_document()));
95
96
97
mongocxx::libbson::scoped_bson_t command_bson{command};
0 commit comments