mongoc_uri_get_read_prefs
mongoc_uri_get_read_prefs()
- Provided by: libmongoc-doc (Version: 1.16.1-1build2)
- Source: mongo-c-driver
- Report a bug
mongoc_uri_get_read_prefs()
const bson_t * mongoc_uri_get_read_prefs (const mongoc_uri_t *uri);
WARNING:
Please use mongoc_uri_get_read_prefs_t() 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 if uri has read preferences, otherwise NULL.
MongoDB, Inc
2017-present, MongoDB, Inc