1MONGOC_READ_PREFS_SET_MODE(3) libmongoc MONGOC_READ_PREFS_SET_MODE(3)
23
4
SYNOPSIS
6void
7mongoc_read_prefs_set_mode (mongoc_read_prefs_t *read_prefs,
8mongoc_read_mode_t mode);
9
PARAMETERS
11• read_prefs: A mongoc_read_prefs_t.
1213
• mode: A mongoc_read_mode_t.
14
DESCRIPTION
16Sets the read preference mode. See the MongoDB website for more infor‐
17mation on Read Preferences.
18
AUTHOR
20MongoDB, Inc
21
COPYRIGHT
232017-present, MongoDB, Inc
2425
26
27
28
1.25.1 Nov 08, 2023 MONGOC_READ_PREFS_SET_MODE(3)