#include <mongocxx/v_noabi/mongocxx/model/write.hpp>
A single write operation for use with mongocxx::v_noabi::bulk_write.
◆ write() [1/8]
◆ write() [2/8]
| mongocxx::v_noabi::model::write::write |
( |
insert_one | value | ) |
|
|
inline |
◆ write() [3/8]
| mongocxx::v_noabi::model::write::write |
( |
update_one | value | ) |
|
|
inline |
◆ write() [4/8]
| mongocxx::v_noabi::model::write::write |
( |
update_many | value | ) |
|
|
inline |
◆ write() [5/8]
| mongocxx::v_noabi::model::write::write |
( |
delete_one | value | ) |
|
|
inline |
◆ write() [6/8]
| mongocxx::v_noabi::model::write::write |
( |
delete_many | value | ) |
|
|
inline |
◆ write() [7/8]
| mongocxx::v_noabi::model::write::write |
( |
replace_one | value | ) |
|
|
inline |
◆ write() [8/8]
| mongocxx::v_noabi::model::write::write |
( |
write && | rhs | ) |
|
|
inlinenoexcept |
◆ ~write()
| mongocxx::v_noabi::model::write::~write |
( |
| ) |
|
|
inline |
◆ get_delete_many()
| delete_many const & mongocxx::v_noabi::model::write::get_delete_many |
( |
| ) |
const |
|
inline |
Accesses the write as a model::delete_many. It is illegal to call this method if the return of type() does not indicate that this object currently contains the applicable type.
◆ get_delete_one()
| delete_one const & mongocxx::v_noabi::model::write::get_delete_one |
( |
| ) |
const |
|
inline |
Accesses the write as a model::delete_one. It is illegal to call this method if the return of type() does not indicate that this object currently contains the applicable type.
◆ get_insert_one()
| insert_one const & mongocxx::v_noabi::model::write::get_insert_one |
( |
| ) |
const |
|
inline |
Accesses the write as a model::insert_one. It is illegal to call this method if the return of type() does not indicate that this object currently contains the applicable type.
◆ get_replace_one()
| replace_one const & mongocxx::v_noabi::model::write::get_replace_one |
( |
| ) |
const |
|
inline |
Accesses the write as a model::replace_one. It is illegal to call this method if the return of type() does not indicate that this object currently contains the applicable type.
◆ get_update_many()
| update_many const & mongocxx::v_noabi::model::write::get_update_many |
( |
| ) |
const |
|
inline |
Accesses the write as an model::update_many. It is illegal to call this method if the return of type() does not indicate that this object currently contains the applicable type.
◆ get_update_one()
| update_one const & mongocxx::v_noabi::model::write::get_update_one |
( |
| ) |
const |
|
inline |
Accesses the write as an model::update_one. It is illegal to call this method if the return of type() does not indicate that this object currently contains the applicable type.
◆ operator v1::bulk_write::single() [1/2]
Convert to the mongocxx::v1 equivalent.
- Postconditions:
- *this is in an assign-or-destroy-only state.
- Warning
- Invalidates all associated references.
◆ operator v1::bulk_write::single() [2/2]
◆ operator=()
| write & mongocxx::v_noabi::model::write::operator= |
( |
write && | rhs | ) |
|
|
inlinenoexcept |
◆ type()
| write_type mongocxx::v_noabi::model::write::type |
( |
| ) |
const |
|
inline |
Returns the current type of this write.
The documentation for this class was generated from the following file: