1BSON_APPEND_ITER(3)                 Libbson                BSON_APPEND_ITER(3)
2
3
4

NAME

6       bson_append_iter - bson_append_iter()
7

SYNOPSIS

9          bool
10          bson_append_iter (bson_t *bson,
11                            const char *key,
12                            int key_length,
13                            const bson_iter_t *iter);
14

PARAMETERS

16       · bson: A bson_t.
17
18       · key: Optional field name. If NULL, uses bson_iter_key(iter).
19
20       · key_length: The length of key or -1 to use strlen().
21
22       · iter: A bson_iter_t located on the position of the element to append.
23

DESCRIPTION

25       Appends the value at the current position of iter to the document.
26

RETURNS

28       Returns  true  if successful; false if the operation would overflow the
29       maximum document size or another invalid state is detected.
30

AUTHOR

32       MongoDB, Inc
33
35       2017-present, MongoDB, Inc
36
37
38
39
401.13.1                           Jan 24, 2019              BSON_APPEND_ITER(3)
Impressum