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