19 #include <mongocxx/model/write-fwd.hpp>
21 #include <bsoncxx/stdx/optional.hpp>
22 #include <mongocxx/model/delete_many.hpp>
23 #include <mongocxx/model/delete_one.hpp>
24 #include <mongocxx/model/insert_one.hpp>
25 #include <mongocxx/model/replace_one.hpp>
26 #include <mongocxx/model/update_many.hpp>
27 #include <mongocxx/model/update_one.hpp>
28 #include <mongocxx/write_type.hpp>
30 #include <mongocxx/config/prelude.hpp>
138 MONGOCXX_PRIVATE
void destroy_member() noexcept;
156 #include <mongocxx/config/postlude.hpp>
Class representing a MongoDB delete operation that removes multiple documents.
Definition: delete_many.hpp:33
Class representing a MongoDB delete operation that removes a single document.
Definition: delete_one.hpp:33
Class representing a MongoDB insert operation that creates a single document.
Definition: insert_one.hpp:30
Class representing a MongoDB update operation that replaces a single document.
Definition: replace_one.hpp:33
Class representing a MongoDB update operation that modifies multiple documents.
Definition: update_many.hpp:35
Class representing a MongoDB update operation that modifies a single document.
Definition: update_one.hpp:35
Models a single write operation within a mongocxx::v_noabi::bulk_write.
Definition: write.hpp:39
write(write &&rhs) noexcept
Move constructs a write.
~write()
Destroys a write.
const insert_one & get_insert_one() const
Accesses the write as a model::insert_one.
write(insert_one value)
Constructs a write from a model::insert_one.
write(replace_one value)
Constructs a write from a model::replace_one.
write(update_many value)
Constructs a write from a model::update_many.
const update_many & get_update_many() const
Accesses the write as an model::update_many.
write(delete_many value)
Constructs a write from a model::delete_many.
const delete_many & get_delete_many() const
Accesses the write as a model::delete_many.
const update_one & get_update_one() const
Accesses the write as an model::update_one.
const delete_one & get_delete_one() const
Accesses the write as a model::delete_one.
write(delete_one value)
Constructs a write from a model::delete_one.
write & operator=(write &&rhs) noexcept
Move assigns a write.
const replace_one & get_replace_one() const
Accesses the write as a model::replace_one.
write_type type() const
Returns the current type of this write.
write(update_one value)
Constructs a write from a model::update_one.
write_type
Enum representing the the types of write operations that can be performed.
Definition: write_type.hpp:27
The top-level namespace for mongocxx library entities.
Definition: bulk_write-fwd.hpp:19