mongoc_uri_get_read_prefs (3) Linux Manual Page
mongoc_uri_get_read_prefs() – Fetches a bson document containing read preference tag information from a URI. Note that this does not include the read preference mode.
Synopsis
const bson_t *
mongoc_uri_get_read_prefs (const mongoc_uri_t *uri);
Deprecated
NOTE- This function is deprecated and should not be used in new code.
Please use mongoc_uri_get_read_prefs_t(3) instead.
Parameters
- uri
- A mongoc_uri_t \&.
