1MONGOC_READ_CONCERN_APPEND(3) libmongoc MONGOC_READ_CONCERN_APPEND(3)
2
3
4
6 bool
7 mongoc_read_concern_append (mongoc_read_concern_t *read_concern, bson_t *opts);
8
10 • read_concern: A pointer to a mongoc_read_concern_t.
11
12 • command: A pointer to a bson_t.
13
15 This function appends a read concern to command options. It is useful
16 for appending a read concern to command options before passing them to
17 mongoc_client_read_command_with_opts() or a related function that takes
18 an options document.
19
21 Returns true on success. If any arguments are invalid, returns false
22 and logs an error.
23
25 See the example code for mongoc_client_read_command_with_opts().
26
28 MongoDB, Inc
29
31 2017-present, MongoDB, Inc
32
33
34
35
361.25.1 Nov 08, 2023 MONGOC_READ_CONCERN_APPEND(3)