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.
- Provided by: libmongoc-doc (Version: 1.3.1-1)
- Source: libmongoc
- Report a bug
Fetches a bson document containing read preference tag information from a URI. Note that this does not include the read preference mode.
const bson_t * mongoc_uri_get_read_prefs (const mongoc_uri_t *uri);
NOTE
Please use mongoc_uri_get_read_prefs_t(3) instead.
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.
This page is part of MongoDB C Driver. Please report any bugs at https://jira.mongodb.org/browse/CDRIVER.