1MONGOC_URI_GET_READ_PREFS_T(3) libmongoc MONGOC_URI_GET_READ_PREFS_T(3)
2
3
4
6 const mongoc_read_prefs_t *
7 mongoc_uri_get_read_prefs_t (const mongoc_uri_t *uri);
8
10 • uri: A mongoc_uri_t.
11
13 Fetches a read preference that is owned by the URI instance. This read
14 preference concern is configured based on URI parameters.
15
17 Returns a mongoc_read_prefs_t that should not be modified or freed if
18 uri has read preferences, otherwise NULL.
19
21 MongoDB, Inc
22
24 2017-present, MongoDB, Inc
25
26
27
28
291.25.1 Nov 08, 2023 MONGOC_URI_GET_READ_PREFS_T(3)