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

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

RETURN

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

AUTHOR

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