mongoc_transaction_opts_set_read_prefs
mongoc_transaction_opts_set_read_prefs()
- Provided by: libmongoc-doc (Version: 1.21.0-1build1)
- Source: mongo-c-driver
- Report a bug
mongoc_transaction_opts_set_read_prefs()
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.
MongoDB, Inc
2017-present, MongoDB, Inc