1MONGOC_TRANSACTION_OPTS_SET_READM_oPnRgEoFDSBM(O3CN)GDOrCi_vTeRrANSACTION_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.13.1 Jan 2M4O,NG2O0C1_9TRANSACTION_OPTS_SET_READ_PREFS(3)