19 #include <bsoncxx/stdx/optional.hpp> 20 #include <mongocxx/stdx.hpp> 22 #include <mongocxx/config/prelude.hpp> 25 MONGOCXX_INLINE_NAMESPACE_BEGIN
30 class read_preference;
84 stdx::optional<class read_concern> read_concern()
const;
106 stdx::optional<class write_concern> write_concern()
const;
126 stdx::optional<class read_preference> read_preference()
const;
129 friend class ::mongocxx::client_session;
131 class MONGOCXX_PRIVATE impl;
133 MONGOCXX_PRIVATE impl& _get_impl();
134 MONGOCXX_PRIVATE
const impl& _get_impl()
const;
135 std::unique_ptr<impl> _impl;
139 MONGOCXX_INLINE_NAMESPACE_END
142 #include <mongocxx/config/postlude.hpp> Class representing the optional arguments for a transaction.
Definition: transaction.hpp:37
Top level namespace for the MongoDB C++ driver.
Definition: bulk_write.hpp:24
Class representing a preference for how the driver routes read operations to members of a replica set...
Definition: read_preference.hpp:62
A class to represent the read concern.
Definition: read_concern.hpp:53
Class representing the server-side requirement for reporting the success of a write operation...
Definition: write_concern.hpp:56