1MONGOC_READ_CONCERN_APPEND(3)      libmongoc     MONGOC_READ_CONCERN_APPEND(3)
2
3
4

NAME

6       mongoc_read_concern_append - mongoc_read_concern_append()
7

SYNOPSIS

9          bool
10          mongoc_read_concern_append (mongoc_read_concern_t *read_concern, bson_t *opts);
11

PARAMETERS

13       · read_concern: A pointer to a mongoc_read_concern_t.
14
15       · command: A pointer to a bson_t.
16

DESCRIPTION

18       This  function  appends a read concern to command options. It is useful
19       for appending a read concern to command options before passing them  to
20       mongoc_client_read_command_with_opts  or  a related function that takes
21       an options document.
22

RETURNS

24       Returns true on success. If any arguments are  invalid,  returns  false
25       and logs an error.
26

EXAMPLE

28       See the example code for mongoc_client_read_command_with_opts.
29

AUTHOR

31       MongoDB, Inc
32
34       2017-present, MongoDB, Inc
35
36
37
38
391.16.2                           Feb 25, 2020    MONGOC_READ_CONCERN_APPEND(3)
Impressum