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