mongoc_client_session_get_transaction_state
Synopsis
mongoc_transaction_state_t mongoc_client_session_get_transaction_state (const mongoc_client_session_t *session);
Returns the current transaction state for this session.
Parameters
- session: A mongoc_client_session_t <>ā.
Return
Returns a mongoc_transaction_state_t <> that represents the current transaction state.
Author
MongoDB, Inc
Copyright
2009-present, MongoDB, Inc.
Info
Sep 04, 2026 2.5.2 libmongoc