1MONGOC_CLIENT_SESSION_ABORT_TRANSACTlIiMObONmN(oG3nO)gCo_cCLIENT_SESSION_ABORT_TRANSACTION(3)
2
3
4
6 mongoc_client_session_abort_transaction - mongoc_client_ses‐
7 sion_abort_transaction()
8
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
17 · session: A mongoc_client_session_t.
18
19 · error: An optional location for a bson_error_t or NULL.
20
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
27 MongoDB, Inc
28
30 2017-present, MongoDB, Inc
31
32
33
34
351.16.2 FebM2O5N,GO2C0_2C0LIENT_SESSION_ABORT_TRANSACTION(3)