106 stdx::optional<
bool> _causal_consistency;
107 stdx::optional<
bool> _enable_snapshot_reads;
109 stdx::optional<
transaction> _default_transaction_opts;
116#include <mongocxx/config/postlude.hpp>
Class representing the optional arguments to mongocxx::v_noabi::client::start_session.
Definition client_session.hpp:34
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:39
Declares mongocxx::v_noabi::client_session.
#define MONGOCXX_ABI_EXPORT_CDECL(...)
Equivalent to MONGOCXX_ABI_EXPORT with MONGOCXX_ABI_CDECL.
Definition fwd.hpp:222
The mongocxx macro guard prelude header.
The top-level namespace within which all mongocxx library entities are declared.
Provides std::optional-related polyfills for library API usage.
Declares mongocxx::v_noabi::options::client.
Redeclares bsoncxx::v_noabi::stdx in mongocxx::v_noabi::stdx for internal use.
Provides mongocxx::v_noabi::options::transaction.