1MONGOC_TRANSACTION_OPTS_SET_READ_PRElFiSbM(mO3oN)nGgOoCc_TRANSACTION_OPTS_SET_READ_PREFS(3)
2
3
4
6 mongoc_transaction_opts_set_read_prefs - mongoc_transac‐
7 tion_opts_set_read_prefs()
8
10 void
11 mongoc_transaction_opts_set_read_prefs (mongoc_transaction_opt_t *opts,
12 const mongoc_read_prefs_t *read_prefs);
13
14 Configure the transaction's read preference. The argument is copied
15 into the struct and can be freed after calling this function.
16
18 · opts: A mongoc_transaction_opt_t.
19
20 · read_prefs: A mongoc_read_prefs_t.
21
23 MongoDB, Inc
24
26 2017-present, MongoDB, Inc
27
28
29
30
311.16.2 Feb 2M5O,NG2O0C2_0TRANSACTION_OPTS_SET_READ_PREFS(3)