90 return std::move(_txn);
201 return {std::move(v)};
A polyfill for std::optional<T>.
Definition optional.hpp:799
transaction()=default
Default initialization.
Options related to a distributed transaction.
Definition transaction_options.hpp:50
Used by MongoDB transaction operations.
Definition transaction.hpp:43
operator v1::transaction_options() &&
Convert to the mongocxx::v1 equivalent.
Definition transaction.hpp:89
transaction & read_preference(v_noabi::read_preference const &rp)
Sets the transaction read preference.
transaction & write_concern(v_noabi::write_concern const &wc)
Sets the transaction write concern.
transaction & read_concern(v_noabi::read_concern const &rc)
Sets the transaction read concern.
transaction & max_commit_time_ms(std::chrono::milliseconds ms)
Sets the transaction's max commit time, in milliseconds.
transaction()=default
Default initialization.
Controls the consistency and isolation properties of data read from replica sets and sharded clusters...
Definition read_concern.hpp:54
#define MONGOCXX_ABI_EXPORT_CDECL(...)
Equivalent to MONGOCXX_ABI_EXPORT with MONGOCXX_ABI_CDECL.
Definition export.hpp:52
The mongocxx v_noabi macro guard postlude header.
The mongocxx v_noabi macro guard prelude header.
The top-level namespace within which all bsoncxx library entities are declared.
Declares entities whose ABI stability is guaranteed for documented symbols.
Declares entities representing options to use with various commands.
Declares entities whose ABI stability is NOT guaranteed.
v1::bulk_write to_v1(v_noabi::bulk_write v)
Convert to the mongocxx::v1 equivalent of v.
Definition bulk_write.hpp:162
v_noabi::bulk_write from_v1(v1::bulk_write v)
Convert to the mongocxx::v_noabi equivalent of v.
Definition bulk_write.hpp:155
The top-level namespace within which all mongocxx library entities are declared.
Declares mongocxx::v_noabi::options::transaction.
Provides mongocxx::v1::transaction_options.
Provides std::optional-related polyfills for library API usage.
Declares mongocxx::v_noabi::client_session.
Declares mongocxx::v_noabi::read_concern.
Declares mongocxx::v_noabi::read_preference.
Declares mongocxx::v_noabi::write_concern.