#include <mongocxx/v1/read_concern.hpp>
Options related to a MongoDB Read Concern.
Supported fields include:
- See also
-
- Attention
- This feature is experimental! It is not ready for use!
◆ level
The read concern level.
- See also
-
- Attention
- This feature is experimental! It is not ready for use!
◆ ~read_concern()
| mongocxx::v1::read_concern::~read_concern |
( |
| ) |
|
Destroy this object.
- Warning
- Invalidates all associated views.
◆ read_concern() [1/3]
| mongocxx::v1::read_concern::read_concern |
( |
read_concern && | other | ) |
|
|
noexcept |
Move constructor.
- Postconditions:
- other is in an assign-or-destroy-only state.
◆ read_concern() [2/3]
| mongocxx::v1::read_concern::read_concern |
( |
read_concern const & | other | ) |
|
◆ read_concern() [3/3]
| mongocxx::v1::read_concern::read_concern |
( |
| ) |
|
Default initialization.
- Postconditions:
-
◆ acknowledge_level() [1/2]
| level mongocxx::v1::read_concern::acknowledge_level |
( |
| ) |
const |
Return the current read concern level.
◆ acknowledge_level() [2/2]
Set the read concern level.
- Parameters
-
◆ acknowledge_string() [1/2]
◆ acknowledge_string() [2/2]
Set the read concern level to an arbitrary string.
- Parameters
-
| v | Equivalent to this->acknowledge_level(k_server_default) when v is empty. |
◆ operator=() [1/2]
Move assignment.
- Postconditions:
- other is in an assign-or-destroy-only state.
◆ operator=() [2/2]
◆ to_document()
Return this read concern option as a document.
- Preconditions:
-
◆ operator!=
Compare equal when all supported fields compare equal.
◆ operator==
Compare equal when all supported fields compare equal.
The documentation for this class was generated from the following file: