logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

Deprecated since version 1.2.0: Use mongoc_uri_get_read_prefs_t() instead.

Author

       MongoDB, Inc

Description

       Fetches  a  bson  document containing read preference tag information from a URI. Note that this does not
       include the read preference mode.

Parameters

uri: A mongoc_uri_t.

Returns

       Returns a bson document that should not be modified or freed if uri has read preferences, otherwise NULL.

Synopsis

          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.

See Also