#include <mongocxx/v1/delete_many_options.hpp>
Options for a "deleteMany" operation.
Supported fields include:
Public Member Functions | |
| delete_many_options () | |
| Default initialization. | |
| delete_many_options (delete_many_options &&other) noexcept | |
| Move constructor. | |
| delete_many_options (delete_many_options const &other) | |
| Copy construction. | |
| ~delete_many_options () | |
| Destroy this object. | |
| bsoncxx::v1::stdx::optional< bsoncxx::v1::document::view > | collation () const |
| Return the current "collation" field. | |
| delete_many_options & | collation (bsoncxx::v1::document::value collation) |
| Set the "collation" field. | |
| bsoncxx::v1::stdx::optional< bsoncxx::v1::types::view > const | comment () const |
| Return the current "comment" field. | |
| delete_many_options & | comment (bsoncxx::v1::types::value comment) |
| Set the "comment" field. | |
| bsoncxx::v1::stdx::optional< v1::hint > | hint () const |
| Return the current "hint" field. | |
| delete_many_options & | hint (v1::hint index_hint) |
| Set the "hint" field. | |
| bsoncxx::v1::stdx::optional< bsoncxx::v1::document::view > const | let () const |
| Return the current "let" field. | |
| delete_many_options & | let (bsoncxx::v1::document::value let) |
| Set the "let" field. | |
| delete_many_options & | operator= (delete_many_options &&other) noexcept |
| Move assignment. | |
| delete_many_options & | operator= (delete_many_options const &other) |
| Copy assignment. | |
| bsoncxx::v1::stdx::optional< v1::write_concern > | write_concern () const |
| Return the current "writeConcern" field. | |
| delete_many_options & | write_concern (write_concern wc) |
| Set the "writeConcern" field. | |
| mongocxx::v1::delete_many_options::~delete_many_options | ( | ) |
Destroy this object.
|
noexcept |
Move constructor.
| mongocxx::v1::delete_many_options::delete_many_options | ( | delete_many_options const & | other | ) |
Copy construction.
| mongocxx::v1::delete_many_options::delete_many_options | ( | ) |
Default initialization.
| bsoncxx::v1::stdx::optional< bsoncxx::v1::document::view > mongocxx::v1::delete_many_options::collation | ( | ) | const |
Return the current "collation" field.
| delete_many_options & mongocxx::v1::delete_many_options::collation | ( | bsoncxx::v1::document::value | collation | ) |
Set the "collation" field.
| bsoncxx::v1::stdx::optional< bsoncxx::v1::types::view > const mongocxx::v1::delete_many_options::comment | ( | ) | const |
Return the current "comment" field.
| delete_many_options & mongocxx::v1::delete_many_options::comment | ( | bsoncxx::v1::types::value | comment | ) |
Set the "comment" field.
| bsoncxx::v1::stdx::optional< v1::hint > mongocxx::v1::delete_many_options::hint | ( | ) | const |
Return the current "hint" field.
| delete_many_options & mongocxx::v1::delete_many_options::hint | ( | v1::hint | index_hint | ) |
Set the "hint" field.
| bsoncxx::v1::stdx::optional< bsoncxx::v1::document::view > const mongocxx::v1::delete_many_options::let | ( | ) | const |
Return the current "let" field.
| delete_many_options & mongocxx::v1::delete_many_options::let | ( | bsoncxx::v1::document::value | let | ) |
Set the "let" field.
|
noexcept |
Move assignment.
| delete_many_options & mongocxx::v1::delete_many_options::operator= | ( | delete_many_options const & | other | ) |
Copy assignment.
| bsoncxx::v1::stdx::optional< v1::write_concern > mongocxx::v1::delete_many_options::write_concern | ( | ) | const |
Return the current "writeConcern" field.
| delete_many_options & mongocxx::v1::delete_many_options::write_concern | ( | write_concern | wc | ) |
Set the "writeConcern" field.