138 void destroy_member() noexcept;
write(insert_one value)
Constructs a write from a model::insert_one.
A MongoDB delete operation that removes multiple documents.
Definition delete_many.hpp:33
A MongoDB delete operation that removes a single document.
Definition delete_one.hpp:33
A MongoDB insert operation that creates a single document.
Definition insert_one.hpp:30
A MongoDB update operation that replaces a single document.
Definition replace_one.hpp:33
A MongoDB update operation that modifies multiple documents.
Definition update_many.hpp:35
A MongoDB update operation that modifies a single document.
Definition update_one.hpp:35
write(insert_one value)
Constructs a write from a model::insert_one.
update_one const & get_update_one() const
Accesses the write as an model::update_one. It is illegal to call this method if the return of type()...
delete_one const & get_delete_one() const
Accesses the write as a model::delete_one. It is illegal to call this method if the return of type() ...
replace_one const & get_replace_one() const
Accesses the write as a model::replace_one. It is illegal to call this method if the return of type()...
delete_many const & get_delete_many() const
Accesses the write as a model::delete_many. It is illegal to call this method if the return of type()...
update_many const & get_update_many() const
Accesses the write as an model::update_many. It is illegal to call this method if the return of type(...
write_type type() const
Returns the current type of this write.
insert_one const & get_insert_one() const
Accesses the write as a model::insert_one. It is illegal to call this method if the return of type() ...
Provides mongocxx::v_noabi::model::delete_many.
Provides mongocxx::v_noabi::model::delete_one.
Provides mongocxx::v_noabi::model::insert_one.
Provides 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 postlude header.
The mongocxx v_noabi macro guard prelude header.
Declares entities representing bulk write operations.
Declares entities whose ABI stability is NOT guaranteed.
write_type
Used by mongocxx::v_noabi::model::write.
Definition write_type.hpp:27
The top-level namespace within which all mongocxx library entities are declared.
Provides mongocxx::v_noabi::model::update_many.
Provides mongocxx::v_noabi::model::update_one.
Provides std::optional-related polyfills for library API usage.
Declares mongocxx::v_noabi::model::write.
Provides mongocxx::v_noabi::write_type.