1MONGOC_READ_CONCERN_SET_LEVEL(3)   libmongoc  MONGOC_READ_CONCERN_SET_LEVEL(3)
2
3
4

NAME

6       mongoc_read_concern_set_level - mongoc_read_concern_set_level()
7

SYNOPSIS

9          bool
10          mongoc_read_concern_set_level (mongoc_read_concern_t *read_concern,
11                                         const char *level);
12

PARAMETERS

14read_concern: A mongoc_read_concern_t.
15
16level: The readConcern level to use.
17

DESCRIPTION

19       Sets the read concern level. See mongoc_read_concern_t for details.
20
21       Beginning  in  version 1.9.0, this function can now alter the read con‐
22       cern after it has been used in  an  operation.  Previously,  using  the
23       struct  with  an  operation  would mark it as "frozen" and calling this
24       function would return false instead of altering the read concern.
25

RETURNS

27       Returns true if the read concern level was set, or false otherwise.
28

AUTHOR

30       MongoDB, Inc
31
33       2017-present, MongoDB, Inc
34
35
36
37
381.21.1                           Mar 02, 2022 MONGOC_READ_CONCERN_SET_LEVEL(3)
Impressum