1MONGOC_URI_GET_READ_PREFS(3)       libmongoc      MONGOC_URI_GET_READ_PREFS(3)
2
3
4

NAME

6       mongoc_uri_get_read_prefs - mongoc_uri_get_read_prefs()
7

SYNOPSIS

9          const bson_t *
10          mongoc_uri_get_read_prefs (const mongoc_uri_t *uri);
11

DEPRECATED

13       WARNING:
14          This function is deprecated and should not be used in new code.
15
16       Please use mongoc_uri_get_read_prefs_t() instead.
17

PARAMETERS

19uri: A mongoc_uri_t.
20

DESCRIPTION

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

RETURNS

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

AUTHOR

30       MongoDB, Inc
31
33       2017-present, MongoDB, Inc
34
35
36
37
381.20.0                           Nov 18, 2021     MONGOC_URI_GET_READ_PREFS(3)
Impressum