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

WARNING:

6          Deprecated  since  version  1.2.0:  This  function is deprecated and
7          should not be used in new code.
8
9          Please use mongoc_uri_get_read_prefs_t() in new code.
10
11

SYNOPSIS

13          const bson_t *
14          mongoc_uri_get_read_prefs (const mongoc_uri_t *uri);
15

PARAMETERS

17uri: A mongoc_uri_t.
18

DESCRIPTION

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

RETURNS

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

AUTHOR

28       MongoDB, Inc
29
31       2017-present, MongoDB, Inc
32
33
34
35
361.25.1                           Nov 08, 2023     MONGOC_URI_GET_READ_PREFS(3)
Impressum