17 #include <bsoncxx/stdx/optional.hpp>
18 #include <mongocxx/options/transaction.hpp>
19 #include <mongocxx/stdx.hpp>
21 #include <mongocxx/config/prelude.hpp>
24 MONGOCXX_INLINE_NAMESPACE_BEGIN
50 client_session& causal_consistency(
bool causal_consistency) noexcept;
56 bool causal_consistency()
const noexcept;
77 bool snapshot()
const noexcept;
96 const stdx::optional<transaction>& default_transaction_opts()
const;
102 stdx::optional<bool> _causal_consistency;
103 stdx::optional<bool> _enable_snapshot_reads;
105 stdx::optional<transaction> _default_transaction_opts;
109 MONGOCXX_INLINE_NAMESPACE_END
112 #include <mongocxx/config/postlude.hpp>