mongoc_transaction_opts_get_read_prefs - Man Page
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.
Info
Nov 07, 2024 1.29.0 libmongoc