1MONGOC_SESSION_OPTS_GET_TRANSACTION_lMOiOPbNTmGSoO(nC3g_)oScESSION_OPTS_GET_TRANSACTION_OPTS(3)
2
3
4
6 mongoc_transaction_opt_t *
7 mongoc_session_opts_get_transaction_opts (
8 const mongoc_client_session_t *session) BSON_GNUC_WARN_UNUSED_RESULT;
9
10 The options for the current transaction started with this session.
11
12 If this session is not in a transaction, then the returned value is
13 NULL. See mongoc_client_session_in_transaction().
14
16 • session: A mongoc_client_session_t.
17
19 If the session is in a transaction, a new mongoc_transaction_opt_t that
20 must be freed with mongoc_transaction_opts_destroy(). Otherwise, NULL.
21
23 MongoDB, Inc
24
26 2017-present, MongoDB, Inc
27
28
29
30
311.25.1 NovMO0N8G,OC2_0S2E3SSION_OPTS_GET_TRANSACTION_OPTS(3)