|
MongoDB C++ Driver
mongocxx-3.7.0
|
Class representing the optional arguments to a MongoDB delete operation. More...
#include <delete.hpp>
Public Member Functions | |
| delete_options & | collation (bsoncxx::document::view_or_value collation) |
| Sets the collation for this operation. More... | |
| const stdx::optional< bsoncxx::document::view_or_value > & | collation () const |
| Retrieves the current collation for this operation. More... | |
| delete_options & | write_concern (write_concern wc) |
| Sets the write_concern for this operation. More... | |
| const stdx::optional< class write_concern > & | write_concern () const |
| The current write_concern for this operation. More... | |
| delete_options & | hint (class hint index_hint) |
| Sets the index to use for this operation. More... | |
| const stdx::optional< class hint > & | hint () const |
| Gets the current hint. More... | |
| delete_options & | let (bsoncxx::document::view_or_value let) |
| Set the value of the let option. More... | |
| const stdx::optional< bsoncxx::document::view_or_value > | let () const |
| Gets the current value of the let option. More... | |
| delete_options & | comment (bsoncxx::types::bson_value::view_or_value comment) |
| Set the value of the comment option. More... | |
| const stdx::optional< bsoncxx::types::bson_value::view_or_value > | comment () const |
| Gets the current value of the comment option. More... | |
Class representing the optional arguments to a MongoDB delete operation.
| const stdx::optional<bsoncxx::document::view_or_value>& mongocxx::options::delete_options::collation | ( | ) | const |
Retrieves the current collation for this operation.
| delete_options& mongocxx::options::delete_options::collation | ( | bsoncxx::document::view_or_value | collation | ) |
Sets the collation for this operation.
| collation | The new collation. |
| const stdx::optional<bsoncxx::types::bson_value::view_or_value> mongocxx::options::delete_options::comment | ( | ) | const |
Gets the current value of the comment option.
| delete_options& mongocxx::options::delete_options::comment | ( | bsoncxx::types::bson_value::view_or_value | comment | ) |
Set the value of the comment option.
| comment | The new comment option. |
| const stdx::optional<class hint>& mongocxx::options::delete_options::hint | ( | ) | const |
Gets the current hint.
| delete_options& mongocxx::options::delete_options::hint | ( | class hint | index_hint | ) |
Sets the index to use for this operation.
| index_hint | Object representing the index to use. |
| const stdx::optional<bsoncxx::document::view_or_value> mongocxx::options::delete_options::let | ( | ) | const |
Gets the current value of the let option.
| delete_options& mongocxx::options::delete_options::let | ( | bsoncxx::document::view_or_value | let | ) |
Set the value of the let option.
| let | The new let option. |
| const stdx::optional<class write_concern>& mongocxx::options::delete_options::write_concern | ( | ) | const |
The current write_concern for this operation.
| delete_options& mongocxx::options::delete_options::write_concern | ( | write_concern | wc | ) |
Sets the write_concern for this operation.
| wc | The new write_concern. |
1.8.17