mongoc_uri_set_read_prefs_t(3)
| MONGOC_URI_SET_READ_PREFS_T(3) | libmongoc | MONGOC_URI_SET_READ_PREFS_T(3) |
SYNOPSIS
void mongoc_uri_set_read_prefs_t (mongoc_uri_t *uri,
const mongoc_read_prefs_t *prefs);
PARAMETERS
- uri: A mongoc_uri_t <>.
- rc: A mongoc_read_prefs_t <>.
DESCRIPTION
Sets a MongoDB URI's read preferences, after the URI has been parsed from a string.
Author
MongoDB, Inc
Copyright
2009-present, MongoDB, Inc.
| February 10, 2026 | 1.30.7 |
