MONGOC_CLIENT_SESSION_GET_TRANSACTION_STATE(3) libmongoc MONGOC_CLIENT_SESSION_GET_TRANSACTION_STATE(3)

mongoc_transaction_state_t
mongoc_client_session_get_transaction_state (const mongoc_client_session_t *session);


Returns the current transaction state for this session.

session: A mongoc_client_session_t.

Returns a mongoc_transaction_state_t that represents the current transaction state.

MongoDB, Inc

2017-present, MongoDB, Inc

March 31, 2024 1.26.0