#include <mongocxx/v1/indexes.hpp>
Options for mongocxx::v1::indexes::drop_all.
Supported fields include:
Public Member Functions | |
| drop_all_options () | |
| Default initialization. | |
| drop_all_options (drop_all_options &&other) noexcept | |
| Move constructor. | |
| drop_all_options (drop_all_options const &other) | |
| Copy construction. | |
| ~drop_all_options () | |
| Destroy this object. | |
| bsoncxx::v1::stdx::optional< bsoncxx::v1::types::view > | comment () const |
| Return the current "comment" field. | |
| drop_all_options & | comment (bsoncxx::v1::types::value v) |
| Set the "comment" field. | |
| bsoncxx::v1::stdx::optional< std::chrono::milliseconds > | max_time () const |
| Return the current "maxTimeMS" field. | |
| drop_all_options & | max_time (std::chrono::milliseconds v) |
| Set the "maxTimeMS" field. | |
| drop_all_options & | operator= (drop_all_options &&other) noexcept |
| Move assignment. | |
| drop_all_options & | operator= (drop_all_options const &other) |
| Copy assignment. | |
| bsoncxx::v1::stdx::optional< v1::write_concern > | write_concern () const |
| Return the current "writeConcern" field. | |
| drop_all_options & | write_concern (v1::write_concern v) |
| Set the "writeConcern" field. | |
| mongocxx::v1::indexes::drop_all_options::~drop_all_options | ( | ) |
Destroy this object.
|
noexcept |
Move constructor.
| mongocxx::v1::indexes::drop_all_options::drop_all_options | ( | drop_all_options const & | other | ) |
Copy construction.
| mongocxx::v1::indexes::drop_all_options::drop_all_options | ( | ) |
Default initialization.
| bsoncxx::v1::stdx::optional< bsoncxx::v1::types::view > mongocxx::v1::indexes::drop_all_options::comment | ( | ) | const |
Return the current "comment" field.
| drop_all_options & mongocxx::v1::indexes::drop_all_options::comment | ( | bsoncxx::v1::types::value | v | ) |
Set the "comment" field.
| bsoncxx::v1::stdx::optional< std::chrono::milliseconds > mongocxx::v1::indexes::drop_all_options::max_time | ( | ) | const |
Return the current "maxTimeMS" field.
| drop_all_options & mongocxx::v1::indexes::drop_all_options::max_time | ( | std::chrono::milliseconds | v | ) |
Set the "maxTimeMS" field.
|
noexcept |
Move assignment.
| drop_all_options & mongocxx::v1::indexes::drop_all_options::operator= | ( | drop_all_options const & | other | ) |
Copy assignment.
| bsoncxx::v1::stdx::optional< v1::write_concern > mongocxx::v1::indexes::drop_all_options::write_concern | ( | ) | const |
Return the current "writeConcern" field.
| drop_all_options & mongocxx::v1::indexes::drop_all_options::write_concern | ( | v1::write_concern | v | ) |
Set the "writeConcern" field.