1MONGOC_READ_CONCERN_IS_DEFAULT(3) libmongoc MONGOC_READ_CONCERN_IS_DEFAULT(3)
2
3
4
6 mongoc_read_concern_is_default - mongoc_read_concern_is_default()
7
9 bool
10 mongoc_read_concern_is_default (mongoc_read_concern_t *read_concern);
11
13 · read_concern: A pointer to a mongoc_read_concern_t.
14
16 Returns true if read_concern has not been modified from the default.
17 For example, if no "readConcern" option is set in the MongoDB URI and
18 you have not called mongoc_client_set_read_concern(), then mon‐
19 goc_read_concern_is_default() is true for the read concern returned by
20 mongoc_client_get_read_concern().
21
23 MongoDB, Inc
24
26 2017-present, MongoDB, Inc
27
28
29
30
311.17.4 Feb 04, 2021MONGOC_READ_CONCERN_IS_DEFAULT(3)