table of contents
other versions
- bookworm 1.23.1-1
- testing 1.26.0-1
- unstable 1.26.1-1
- experimental 1.26.0-1.1~exp1
MONGOC_CLIENT_SESSION_IN_TRANSACTION(3) | libmongoc | MONGOC_CLIENT_SESSION_IN_TRANSACTION(3) |
SYNOPSIS¶
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.
AUTHOR¶
MongoDB, Inc
COPYRIGHT¶
2017-present, MongoDB, Inc
February 25, 2024 | 1.26.0 |