MONGOC_URI_GET_READ_PREFS(3) | libmongoc | MONGOC_URI_GET_READ_PREFS(3) |
WARNING:
Please use mongoc_uri_get_read_prefs_t() in new code.
const bson_t * mongoc_uri_get_read_prefs (const mongoc_uri_t *uri);
Fetches a bson document containing read preference tag information from a URI. Note that this does not include the read preference mode.
Returns a bson document that should not be modified or freed if uri has read preferences, otherwise NULL.
MongoDB, Inc
2017-present, MongoDB, Inc
March 31, 2024 | 1.26.0 |