1MONGOC_READ_PREFS_SET_MODE(3) MongoDB C Driver MONGOC_READ_PREFS_SET_MODE(3)
2
3
4
6 mongoc_read_prefs_set_mode - mongoc_read_prefs_set_mode()
7
9 void
10 mongoc_read_prefs_set_mode (mongoc_read_prefs_t *read_prefs,
11 mongoc_read_mode_t mode);
12
14 · read_prefs: A mongoc_read_prefs_t.
15
16 · mode: A mongoc_read_mode_t.
17
19 Sets the read preference mode. See the MongoDB website for more infor‐
20 mation on Read Preferences.
21
23 MongoDB, Inc
24
26 2017-present, MongoDB, Inc
27
28
29
30
311.15.2 Nov 06, 2019 MONGOC_READ_PREFS_SET_MODE(3)