17#include <mongocxx/client_session-fwd.hpp>
18#include <mongocxx/options/client_session-fwd.hpp>
20#include <bsoncxx/stdx/optional.hpp>
21#include <mongocxx/options/transaction.hpp>
22#include <mongocxx/stdx.hpp>
24#include <mongocxx/config/prelude.hpp>
104 stdx::optional<
bool> _causal_consistency;
105 stdx::optional<
bool> _enable_snapshot_reads;
107 stdx::optional<
transaction> _default_transaction_opts;
114#include <mongocxx/config/postlude.hpp>
Class representing the optional arguments to mongocxx::v_noabi::client::start_session.
Definition client_session.hpp:33
client_session & causal_consistency(bool causal_consistency) noexcept
Sets the causal_consistency option.
bool causal_consistency() const noexcept
Gets the value of the causal_consistency option.
bool snapshot() const noexcept
Gets the value of the snapshot_reads option.
const stdx::optional< transaction > & default_transaction_opts() const
Gets the current default transaction options.
Class representing the optional arguments for a transaction.
Definition transaction.hpp:38
The top-level namespace for mongocxx library entities.
Definition bulk_write-fwd.hpp:19