1MONGOC_SESSION_OPTS_GET_TRANSACTION_lMOiOPbNTmGSoO(nC3g_)oScESSION_OPTS_GET_TRANSACTION_OPTS(3)
2
3
4

NAME

6       mongoc_session_opts_get_transaction_opts          -         mongoc_ses‐
7       sion_opts_get_transaction_opts()
8

SYNOPSIS

10          mongoc_transaction_opt_t *
11          mongoc_session_opts_get_transaction_opts (
12             const mongoc_client_session_t *session) BSON_GNUC_WARN_UNUSED_RESULT;
13
14       The options for the current transaction started with this session.
15
16       If this session is not in a transaction, then  the  returned  value  is
17       NULL. See mongoc_client_session_in_transaction().
18

PARAMETERS

20session: A mongoc_client_session_t.
21

RETURNS

23       If the session is in a transaction, a new mongoc_transaction_opt_t that
24       must be freed with mongoc_transaction_opts_destroy(). Otherwise, NULL.
25

AUTHOR

27       MongoDB, Inc
28
30       2017-present, MongoDB, Inc
31
32
33
34
351.24.3                           AugMO1N7G,OC2_0S2E3SSION_OPTS_GET_TRANSACTION_OPTS(3)
Impressum