1MONGOC_URI_GET_READ_PREFS_T(3)     libmongoc    MONGOC_URI_GET_READ_PREFS_T(3)
2
3
4

NAME

6       mongoc_uri_get_read_prefs_t - mongoc_uri_get_read_prefs_t()
7

SYNOPSIS

9          const mongoc_read_prefs_t *
10          mongoc_uri_get_read_prefs_t (const mongoc_uri_t *uri);
11

PARAMETERS

13uri: A mongoc_uri_t.
14

DESCRIPTION

16       Fetches  a read preference that is owned by the URI instance. This read
17       preference concern is configured based on URI parameters.
18

RETURNS

20       Returns a mongoc_read_prefs_t that should not be modified or  freed  if
21       uri has read preferences, otherwise NULL.
22

AUTHOR

24       MongoDB, Inc
25
27       2017-present, MongoDB, Inc
28
29
30
31
321.21.1                           Mar 02, 2022   MONGOC_URI_GET_READ_PREFS_T(3)
Impressum