49 class _empty_doc_tag {};
85 std::initializer_list<_empty_doc_tag>
update);
194 bsoncxx::v_noabi::document::view_or_value _filter;
195 bsoncxx::v_noabi::document::view_or_value _update;
197 stdx::optional<
bsoncxx::v_noabi::document::view_or_value> _collation;
198 stdx::optional<
bsoncxx::v_noabi::array::view_or_value> _array_filters;
199 stdx::optional<
bool> _upsert;
207#include <mongocxx/config/postlude.hpp>
Provides bsoncxx::v_noabi::array::view_or_value.
Class representing a hint to be passed to a database operation.
Definition hint.hpp:37
Class representing a MongoDB update operation that modifies a single document.
Definition update_one.hpp:36
const stdx::optional< bsoncxx::v_noabi::document::view_or_value > & collation() const
Gets the collation option for this update operation.
const bsoncxx::v_noabi::document::view_or_value & filter() const
Gets the filter.
const bsoncxx::v_noabi::document::view_or_value & update() const
Gets the update document.
const stdx::optional< bsoncxx::v_noabi::array::view_or_value > & array_filters() const
Get array filters for this operation.
const stdx::optional< bool > & upsert() const
Gets the current value of the upsert option.
Class representing a MongoDB aggregation pipeline.
Definition pipeline.hpp:39
Provides bsoncxx::v_noabi::document::view_or_value.
#define MONGOCXX_ABI_EXPORT_CDECL(...)
Equivalent to MONGOCXX_ABI_EXPORT with MONGOCXX_ABI_CDECL.
Definition fwd.hpp:222
Provides mongocxx::v_noabi::hint.
The mongocxx 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.
The top-level namespace reserved for the C++ standard library.
Provides std::optional-related polyfills for library API usage.
Provides mongocxx::v_noabi::pipeline.
Redeclares bsoncxx::v_noabi::stdx in mongocxx::v_noabi::stdx for internal use.
Declares mongocxx::v_noabi::model::update_one.