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