1MONGOC_CLIENT_SESSION_IN_TRANSACTIONl(i3b)moMnOgNoGcOC_CLIENT_SESSION_IN_TRANSACTION(3)
2
3
4

NAME

6       mongoc_client_session_in_transaction  - mongoc_client_session_in_trans‐
7       action()
8

SYNOPSIS

10          bool
11          mongoc_client_session_in_transaction (const mongoc_client_session_t *session);
12
13       Check whether a multi-document transaction is in progress for this ses‐
14       sion.
15

PARAMETERS

17session: A mongoc_client_session_t.
18

RETURN

20       Returns true if a transaction was started and has not been committed or
21       aborted, otherwise false.
22

AUTHOR

24       MongoDB, Inc
25
27       2017-present, MongoDB, Inc
28
29
30
31
321.20.0                           Nov 18,MO2N0G2O1C_CLIENT_SESSION_IN_TRANSACTION(3)
Impressum