1MONGOC_CLIENT_SESSION_ABORT_TRANMSoAnCgToIDMOBONN(CG3O)DCr_iCvLeIrENT_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.13.1 JanM2O4N,GO2C0_1C9LIENT_SESSION_ABORT_TRANSACTION(3)