1MONGOC_READ_CONCERN_SET_LEVEL(3) libmongoc MONGOC_READ_CONCERN_SET_LEVEL(3)
2
3
4
6 bool
7 mongoc_read_concern_set_level (mongoc_read_concern_t *read_concern,
8 const char *level);
9
11 • read_concern: A mongoc_read_concern_t.
12
13 • level: The readConcern level to use.
14
16 Sets the read concern level. See mongoc_read_concern_t for details.
17
18 Beginning in version 1.9.0, this function can now alter the read con‐
19 cern after it has been used in an operation. Previously, using the
20 struct with an operation would mark it as "frozen" and calling this
21 function would return false instead of altering the read concern.
22
24 Returns true if the read concern level was set, or false otherwise.
25
27 MongoDB, Inc
28
30 2017-present, MongoDB, Inc
31
32
33
34
351.25.1 Nov 08, 2023 MONGOC_READ_CONCERN_SET_LEVEL(3)