mongoc_uri_get_read_prefs3
Usage
const bson_t * mongoc_uri_get_read_prefs (const mongoc_uri_t *uri);
WARNING:
Deprecated since version 1.2.0: Use mongoc_uri_get_read_prefs_t() instead.
Parameters
- •
-
uri: A mongoc_uri_t.
Overview
Fetches a bson document containing read preference tag information from a URI. Note that this does not include the read preference mode.
Returns
Returns a bson document that should not be modified or freed if uri has read preferences, otherwise NULL.
Releases
5 releases since Debian 9 (Stretch); the text changed 4 times.