19#include <bsoncxx/stdx/optional.hpp>
20#include <bsoncxx/stdx/string_view.hpp>
21#include <mongocxx/stdx.hpp>
23#include <mongocxx/config/prelude.hpp>
26MONGOCXX_INLINE_NAMESPACE_BEGIN
111 void acknowledge_level(
level rc_level);
131 void acknowledge_string(stdx::string_view rc_string);
141 stdx::string_view acknowledge_string() const;
149 class MONGOCXX_PRIVATE impl;
151 MONGOCXX_PRIVATE
read_concern(std::unique_ptr<impl>&& implementation);
153 std::unique_ptr<impl> _impl;
156MONGOCXX_INLINE_NAMESPACE_END
159#include <mongocxx/config/postlude.hpp>
Class representing a client connection to MongoDB.
Definition client.hpp:49
Class representing server side document groupings within a MongoDB database.
Definition collection.hpp:74
Class representing a MongoDB database.
Definition database.hpp:44
A class to represent the read concern.
Definition read_concern.hpp:52
read_concern & operator=(const read_concern &)
Copy assigns a read_concern.
level
A class to represent the read concern level.
Definition read_concern.hpp:59
read_concern(read_concern &&) noexcept
Move constructs a read_concern.
read_concern(const read_concern &)
Copy constructs a read_concern.
read_concern()
Constructs a new read_concern with default acknowledge_level of k_server_default.
Class representing a MongoDB connection string URI.
Definition uri.hpp:40