#include <mongocxx/v1/client_bulk_write.hpp>
Options for an "Update Many" operation in a client bulk write.
Supported fields include:
Public Member Functions | |
| update_many_options () | |
| Default initialization. | |
| update_many_options (update_many_options &&other) noexcept | |
| Move constructor. | |
| update_many_options (update_many_options const &other) | |
| Copy construction. | |
| ~update_many_options () | |
| Destroy this object. | |
| bsoncxx::v1::stdx::optional< bsoncxx::v1::array::view > | array_filters () const |
| Return the current "arrayFilters" field. | |
| update_many_options & | array_filters (bsoncxx::v1::array::value v) |
| Set the "arrayFilters" field. | |
| bsoncxx::v1::stdx::optional< bsoncxx::v1::document::view > | collation () const |
| Return the current "collation" field. | |
| update_many_options & | collation (bsoncxx::v1::document::value v) |
| Set the "collation" field. | |
| bsoncxx::v1::stdx::optional< v1::hint > | hint () const |
| Return the current "hint" field. | |
| update_many_options & | hint (v1::hint v) |
| Set the "hint" field. | |
| update_many_options & | operator= (update_many_options &&other) noexcept |
| Move assignment. | |
| update_many_options & | operator= (update_many_options const &other) |
| Copy assignment. | |
| bsoncxx::v1::stdx::optional< bool > | upsert () const |
| Return the current "upsert" field. | |
| update_many_options & | upsert (bool v) |
| Set the "upsert" field. | |
| mongocxx::v1::client_bulk_write::update_many_options::~update_many_options | ( | ) |
Destroy this object.
|
noexcept |
Move constructor.
| mongocxx::v1::client_bulk_write::update_many_options::update_many_options | ( | update_many_options const & | other | ) |
Copy construction.
| mongocxx::v1::client_bulk_write::update_many_options::update_many_options | ( | ) |
Default initialization.
| bsoncxx::v1::stdx::optional< bsoncxx::v1::array::view > mongocxx::v1::client_bulk_write::update_many_options::array_filters | ( | ) | const |
Return the current "arrayFilters" field.
| update_many_options & mongocxx::v1::client_bulk_write::update_many_options::array_filters | ( | bsoncxx::v1::array::value | v | ) |
Set the "arrayFilters" field.
| bsoncxx::v1::stdx::optional< bsoncxx::v1::document::view > mongocxx::v1::client_bulk_write::update_many_options::collation | ( | ) | const |
Return the current "collation" field.
| update_many_options & mongocxx::v1::client_bulk_write::update_many_options::collation | ( | bsoncxx::v1::document::value | v | ) |
Set the "collation" field.
| bsoncxx::v1::stdx::optional< v1::hint > mongocxx::v1::client_bulk_write::update_many_options::hint | ( | ) | const |
Return the current "hint" field.
| update_many_options & mongocxx::v1::client_bulk_write::update_many_options::hint | ( | v1::hint | v | ) |
Set the "hint" field.
|
noexcept |
Move assignment.
| update_many_options & mongocxx::v1::client_bulk_write::update_many_options::operator= | ( | update_many_options const & | other | ) |
Copy assignment.
| bsoncxx::v1::stdx::optional< bool > mongocxx::v1::client_bulk_write::update_many_options::upsert | ( | ) | const |
Return the current "upsert" field.
| update_many_options & mongocxx::v1::client_bulk_write::update_many_options::upsert | ( | bool | v | ) |
Set the "upsert" field.