Member mongocxx::collection::replace_one (bsoncxx::document::view_or_value filter, bsoncxx::document::view_or_value replacement, const T &options)
This overload takes an options::update instance, which includes the array_filters option which is irrelevant to replace_one. Use the overload that takes options::replace instead.
This overload takes an options::update instance, which includes the array_filters option which is irrelevant to replace_one. Use the overload that takes options::replace instead.
This method is deprecated. To create a non-materialized view, use database::create_collection and pass "viewOn": "COLLECTION_NAME", "pipeline": [ ... stages ... ] in the bsoncxx::document::view_or_value collection_options.
The modifiers option has been deprecated, and has been replaced by new top-level options that have been introduced. For example, users should call find::snapshot() instead of calling find::modifiers() with a document containing a "$snapshot" field.
The modifiers option has been deprecated, and has been replaced by new top-level options that have been introduced. For example, users should call find::snapshot() instead of calling find::modifiers() with a document containing a "$snapshot" field.