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 (const mongoc_client_session_t *session);
12
13       The options for the current transaction started with this session.  The
14       resulting mongoc_transaction_opt_t should be freed with mongoc_transac‐
15       tion_opts_destroy. If this session is not in a  transaction,  then  the
16       returned value is NULL. See mongoc_client_session_in_transaction().
17

PARAMETERS

19       · session: A mongoc_client_session_t.
20

RETURNS

22       A  newly  allocated  mongoc_transaction_opt_t that should be freed with
23       mongoc_transaction_opts_destroy or NULL if the  session  is  not  in  a
24       transaction.
25

AUTHOR

27       MongoDB, Inc
28
30       2017-present, MongoDB, Inc
31
32
33
34
351.17.4                           FebMO0N4G,OC2_0S2E1SSION_OPTS_GET_TRANSACTION_OPTS(3)
Impressum