48 class _empty_doc_tag {};
217#include <mongocxx/config/postlude.hpp>
Provides bsoncxx::v_noabi::array::view_or_value.
update_one(bsoncxx::v_noabi::document::view_or_value filter, bsoncxx::v_noabi::document::view_or_value update)
Constructs an update operation that will modify a single document matching the filter.
update_one & sort(bsoncxx::v_noabi::document::view_or_value sort)
Set the sort option.
bsoncxx::v_noabi::document::view_or_value const & update() const
Gets the update document.
update_one(bsoncxx::v_noabi::document::view_or_value filter, bsoncxx::v_noabi::document::view_or_value update)
Constructs an update operation that will modify a single document matching the filter.
update_one & hint(mongocxx::v_noabi::hint index_hint)
Sets the index to use for this operation.
update_one & collation(bsoncxx::v_noabi::document::view_or_value collation)
Sets the collation for this update operation.
update_one & array_filters(bsoncxx::v_noabi::array::view_or_value array_filters)
Set array filters for this update operation.
bsoncxx::v_noabi::document::view_or_value const & filter() const
Gets the filter.
update_one & upsert(bool upsert)
Sets the upsert option.
A MongoDB aggregation pipeline.
Definition pipeline.hpp:39
Provides bsoncxx::v_noabi::document::view_or_value.
Provides mongocxx::v_noabi::hint.
#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.
Declares entities representing bulk write operations.
Declares entities whose ABI stability is NOT guaranteed.
The top-level namespace within which all mongocxx library entities are declared.
Provides mongocxx::v_noabi::pipeline.
Declares mongocxx::v_noabi::model::update_one.
Provides std::optional-related polyfills for library API usage.