Provided by: libmongoc-doc_1.30.2-1_all 

SYNOPSIS
const mongoc_read_prefs_t * mongoc_transaction_opts_get_read_prefs (const mongoc_transaction_opt_t *opts); Return the transaction options' mongoc_read_prefs_t. See mongoc_transaction_opts_set_read_prefs().
PARAMETERS
• opts: A mongoc_transaction_opt_t.
RETURNS
A mongoc_read_prefs_t that is valid only for the lifetime of opts.
AUTHOR
MongoDB, Inc
COPYRIGHT
2009-present, MongoDB, Inc. 1.30.2 Mar 05, 2025 MONGOC_TRANSACTION_OPTS_GET_READ_PREFS(3)