Provided by: libmongoc-doc_1.30.2-1_all 
      
    
WARNING:
          Deprecated since version 1.2.0: Use mongoc_uri_get_read_prefs_t() instead.
SYNOPSIS
          const bson_t *
          mongoc_uri_get_read_prefs (const mongoc_uri_t *uri);
PARAMETERS
       • uri: A mongoc_uri_t.
DESCRIPTION
       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.
AUTHOR
       MongoDB, Inc
COPYRIGHT
       2009-present, MongoDB, Inc.
1.30.2                                            Mar 05, 2025                      MONGOC_URI_GET_READ_PREFS(3)