1MONGOC_CLIENT_SESSION_ABORT_TRANSACTlIiMObONmN(oG3nO)gCo_cCLIENT_SESSION_ABORT_TRANSACTION(3)
2
3
4
6 bool
7 mongoc_client_session_abort_transaction (mongoc_client_session_t *session,
8 bson_error_t *error);
9
10 Abort a multi-document transaction.
11
13 • session: A mongoc_client_session_t.
14
15 • error: An optional location for a bson_error_t or NULL.
16
18 Returns true if the transaction was aborted. Returns false and sets er‐
19 ror if there are invalid arguments, such as a session with no transac‐
20 tion in progress. Network or server errors are ignored.
21
23 MongoDB, Inc
24
26 2017-present, MongoDB, Inc
27
28
29
30
311.25.1 NovM0O8N,GO2C0_2C3LIENT_SESSION_ABORT_TRANSACTION(3)