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

SYNOPSIS

6          bool
7          mongoc_client_session_commit_transaction (mongoc_client_session_t *session,
8                                                    bson_t *reply,
9                                                    bson_error_t *error);
10
11       Commit a multi-document transaction.
12

PARAMETERS

14session: A mongoc_client_session_t.
15
16reply:  An optional uninitialized bson_t to receive the server reply,
17         or NULL.
18
19error: An optional location for a bson_error_t or NULL.
20

RETURN

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

AUTHOR

30       MongoDB, Inc
31
33       2017-present, MongoDB, Inc
34
35
36
37
381.25.1                           NovMO0N8G,OC2_0C2L3IENT_SESSION_COMMIT_TRANSACTION(3)
Impressum