1MONGOC_READ_CONCERN_IS_DEFAULT(3) libmongoc MONGOC_READ_CONCERN_IS_DEFAULT(3)
2
3
4
6 bool
7 mongoc_read_concern_is_default (mongoc_read_concern_t *read_concern);
8
10 • read_concern: A pointer to a mongoc_read_concern_t.
11
13 Returns true if read_concern has not been modified from the default.
14 For example, if no "readConcern" option is set in the MongoDB URI and
15 you have not called mongoc_client_set_read_concern(), then
16 mongoc_read_concern_is_default() is true for the read concern returned
17 by mongoc_client_get_read_concern().
18
20 MongoDB, Inc
21
23 2017-present, MongoDB, Inc
24
25
26
27
281.25.1 Nov 08, 2023MONGOC_READ_CONCERN_IS_DEFAULT(3)