1MONGOC_DATABASE_SET_READ_CONCERN(3)libmongocMONGOC_DATABASE_SET_READ_CONCERN(3)
2
3
4
6 mongoc_database_set_read_concern - mongoc_database_set_read_concern()
7
9 void
10 mongoc_database_set_read_concern (mongoc_database_t *database,
11 const mongoc_read_concern_t *read_concern);
12
13 This function sets the read concern to use on operations performed with
14 database. Collections created with mongoc_database_get_collection() af‐
15 ter this call will inherit this read concern.
16
17 The default read concern is empty: No readConcern is sent to the server
18 unless explicitly configured.
19
21 • database: A mongoc_database_t.
22
23 • read_concern: A mongoc_read_concern_t.
24
26 MongoDB, Inc
27
29 2017-present, MongoDB, Inc
30
31
32
33
341.17.6 Jun 03, 202M1ONGOC_DATABASE_SET_READ_CONCERN(3)