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> 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 the optional arguments to mongocxx::client::start_session.
Definition: client_session.hpp:30