1MONGOC_COLLECTION_GET_READ_PREFS(3)libmongocMONGOC_COLLECTION_GET_READ_PREFS(3)
2
3
4
6 const mongoc_read_prefs_t *
7 mongoc_collection_get_read_prefs (const mongoc_collection_t *collection);
8
10 • collection: A mongoc_collection_t.
11
13 Fetches the default read preferences to use for collection. Operations
14 without specified read-preferences will default to this.
15
17 A mongoc_read_prefs_t that should not be modified or freed.
18
20 MongoDB, Inc
21
23 2017-present, MongoDB, Inc
24
25
26
27
281.25.1 Nov 08, 202M3ONGOC_COLLECTION_GET_READ_PREFS(3)