mongoc_client_session_in_transaction3
Usage
bool mongoc_client_session_in_transaction (const mongoc_client_session_t *session);
Check whether a multi-document transaction is in progress for this session.
Parameters
- •
-
session: A mongoc_client_session_t.
Return
Returns true if a transaction was started and has not been committed or aborted, otherwise false.
Releases
4 releases since Debian 10 (Buster); the text changed 3 times.