#include <mongocxx/v1/bulk_write.hpp>
A list of bulk write operations.
- See also
-
- Attention
- This feature is experimental! It is not ready for use!
|
| enum class | type |
| | Enumeration identifying the type of a write operation. More...
|
◆ type
Enumeration identifying the type of a write operation.
| Enumerator |
|---|
| k_insert_one | An "Insert One" operation.
|
| k_delete_one | A "Delete One" operation.
|
| k_delete_many | A "Delete Many" operation.
|
| k_update_one | An "Update One" operation.
|
| k_update_many | An "Update Many" operation.
|
| k_replace_one | A "Replace One" operation.
|
◆ ~bulk_write()
| mongocxx::v1::bulk_write::~bulk_write |
( |
| ) |
|
◆ bulk_write() [1/2]
| mongocxx::v1::bulk_write::bulk_write |
( |
bulk_write && | other | ) |
|
|
noexcept |
Move constructor.
- Postconditions:
- other is in an assign-or-destroy-only state.
◆ bulk_write() [2/2]
| mongocxx::v1::bulk_write::bulk_write |
( |
bulk_write const & | other | ) |
|
|
delete |
This class is not copyable.
◆ append()
Append a single write operation.
- Exceptions
-
◆ empty()
| bool mongocxx::v1::bulk_write::empty |
( |
| ) |
const |
Return true when there are no appended operations.
◆ execute()
Execute the appended operations.
- Returns
- Empty when the bulk write operation is unacknowledged.
- Exceptions
-
◆ operator=() [1/2]
Move assignment.
- Postconditions:
- other is in an assign-or-destroy-only state.
◆ operator=() [2/2]
This class is not copyable.
The documentation for this class was generated from the following file: