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