1MONGOC_CLIENT_SESSION_ABORT_TRANSACTlIiMObONmN(oG3nO)gCo_cCLIENT_SESSION_ABORT_TRANSACTION(3)
2
3
4

NAME

6       mongoc_client_session_abort_transaction       -      mongoc_client_ses‐
7       sion_abort_transaction()
8

SYNOPSIS

10          bool
11          mongoc_client_session_abort_transaction (mongoc_client_session_t *session,
12                                                   bson_error_t *error);
13
14       Abort a multi-document transaction.
15

PARAMETERS

17session: A mongoc_client_session_t.
18
19error: An optional location for a bson_error_t or NULL.
20

RETURN

22       Returns true if the transaction was aborted. Returns false and sets er‐
23       ror  if there are invalid arguments, such as a session with no transac‐
24       tion in progress. Network or server errors are ignored.
25

AUTHOR

27       MongoDB, Inc
28
30       2017-present, MongoDB, Inc
31
32
33
34
351.20.0                           NovM1O8N,GO2C0_2C1LIENT_SESSION_ABORT_TRANSACTION(3)
Impressum