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;
55 bool causal_consistency()
const noexcept;
74 const stdx::optional<transaction>& default_transaction_opts()
const;
77 bool _causal_consistency =
true;
78 stdx::optional<transaction> _default_transaction_opts;
82 MONGOCXX_INLINE_NAMESPACE_END
85 #include <mongocxx/config/postlude.hpp>