143 bsoncxx::v_noabi::document::view_or_value _filter;
144 bsoncxx::v_noabi::document::view_or_value _replacement;
146 bsoncxx::v_noabi::stdx::optional<
bsoncxx::v_noabi::document::view_or_value> _collation;
147 bsoncxx::v_noabi::stdx::optional<
bool> _upsert;
149 bsoncxx::v_noabi::stdx::optional<
bsoncxx::v_noabi::document::view_or_value> _sort;
156#include <mongocxx/config/postlude.hpp>
The index to "hint" or force a MongoDB server to use when performing a query.
Definition hint.hpp:35
A MongoDB update operation that replaces a single document.
Definition replace_one.hpp:33
bsoncxx::v_noabi::stdx::optional< bsoncxx::v_noabi::document::view_or_value > const & sort() const
Get the current value of the sort option.
bsoncxx::v_noabi::document::view_or_value const & filter() const
Gets the filter for replacement.
bsoncxx::v_noabi::document::view_or_value const & replacement() const
Gets the replacement document.
bsoncxx::v_noabi::stdx::optional< bool > const & upsert() const
Gets the current value of the upsert option.
bsoncxx::v_noabi::stdx::optional< bsoncxx::v_noabi::document::view_or_value > const & collation() const
Gets the collation option for this replacement operation.
Provides bsoncxx::v_noabi::document::view_or_value.
Provides mongocxx::v_noabi::hint.
Declares mongocxx::v_noabi::model::replace_one.
#define MONGOCXX_ABI_EXPORT_CDECL(...)
Equivalent to MONGOCXX_ABI_EXPORT with MONGOCXX_ABI_CDECL.
Definition export.hpp:52
The mongocxx v_noabi macro guard prelude header.
The top-level namespace within which all bsoncxx library entities are declared.
The top-level namespace within which all mongocxx library entities are declared.
Provides std::optional-related polyfills for library API usage.