1MONGOC_CLIENT_GET_READ_PREFS(3) libmongoc MONGOC_CLIENT_GET_READ_PREFS(3)
2
3
4
6 mongoc_client_get_read_prefs - mongoc_client_get_read_prefs()
7
9 const mongoc_read_prefs_t *
10 mongoc_client_get_read_prefs (const mongoc_client_t *client);
11
12 Retrieves the default read preferences configured for the client in‐
13 stance. The result should not be modified or freed.
14
16 • client: A mongoc_client_t.
17
19 A mongoc_read_prefs_t.
20
22 MongoDB, Inc
23
25 2017-present, MongoDB, Inc
26
27
28
29
301.23.1 Oct 20, 2022 MONGOC_CLIENT_GET_READ_PREFS(3)