1MONGOC_CLIENT_SESSION_COMMIT_TRANSAClMTiOIbNOmGNoO(nC3g_)oCcLIENT_SESSION_COMMIT_TRANSACTION(3)
2
3
4

NAME

6       mongoc_client_session_commit_transaction  -  mongoc_client_session_com‐
7       mit_transaction()
8

SYNOPSIS

10          bool
11          mongoc_client_session_commit_transaction (mongoc_client_session_t *session,
12                                                    bson_t *reply,
13                                                    bson_error_t *error);
14
15       Commit a multi-document transaction.
16

PARAMETERS

18session: A mongoc_client_session_t.
19
20reply: An optional uninitialized bson_t to receive the server  reply,
21         or NULL.
22
23error: An optional location for a bson_error_t or NULL.
24

RETURN

26       Returns  true  if the transaction was committed. Returns false and sets
27       error if there are invalid arguments, such as a session with no  trans‐
28       action in progress, or if there is a server or network error.
29
30       If a reply is supplied, it is always initialized and must be freed with
31       bson_destroy().
32

AUTHOR

34       MongoDB, Inc
35
37       2017-present, MongoDB, Inc
38
39
40
41
421.24.3                           AugMO1N7G,OC2_0C2L3IENT_SESSION_COMMIT_TRANSACTION(3)
Impressum