1MONGOC_CLIENT_SET_READ_CONCERN(3)  libmongoc MONGOC_CLIENT_SET_READ_CONCERN(3)
2
3
4

NAME

6       mongoc_client_set_read_concern - mongoc_client_set_read_concern()
7

SYNOPSIS

9          void
10          mongoc_client_set_read_concern (mongoc_client_t *client,
11                                          const mongoc_read_concern_t *read_concern);
12
13       Sets  the  read concern for the client. This only affects future opera‐
14       tions, collections, and databases inheriting from client.
15
16       The default read concern is  MONGOC_READ_CONCERN_LEVEL_LOCAL.  This  is
17       the correct read concern for the great majority of applications.
18
19       It is a programming error to call this function on a client from a mon‐
20       goc_client_pool_t. For pooled clients, set the read  concern  with  the
21       MongoDB URI instead.
22

PARAMETERS

24       · client: A mongoc_client_t.
25
26       · read_concern: A mongoc_read_concern_t.
27

AUTHOR

29       MongoDB, Inc
30
32       2017-present, MongoDB, Inc
33
34
35
36
371.16.2                           Feb 25, 2020MONGOC_CLIENT_SET_READ_CONCERN(3)
Impressum