mongoc_transaction_opts_set_read_prefs - Man Page

Synopsis

void
mongoc_transaction_opts_set_read_prefs (mongoc_transaction_opt_t *opts,
                                        const mongoc_read_prefs_t *read_prefs);

Configure the transaction's read preference. The argument is copied into the struct and can be freed after calling this function.

Parameters

Author

MongoDB, Inc

Info

Nov 07, 2024 1.29.0 libmongoc