1BSON_APPEND_NULL(3)                 libbson                BSON_APPEND_NULL(3)
2
3
4

NAME

6       bson_append_null - bson_append_null()
7

SYNOPSIS

9          #define BSON_APPEND_NULL(b, key) bson_append_null (b, key, (int) strlen (key))
10
11          bool
12          bson_append_null (bson_t *bson, const char *key, int key_length);
13

PARAMETERS

15bson: A bson_t.
16
17key: An ASCII C string containing the name of the field.
18
19key_length: The length of key in bytes, or -1 to determine the length
20         with strlen().
21

DESCRIPTION

23       The bson_append_null() function shall append a new element to  bson  of
24       type BSON_TYPE_NULL.
25

RETURNS

27       Returns  true  if  the operation was applied successfully. The function
28       will fail if appending the value grows bson larger than INT32_MAX.
29

AUTHOR

31       MongoDB, Inc
32
34       2017-present, MongoDB, Inc
35
36
37
38
391.17.6                           Jun 03, 2021              BSON_APPEND_NULL(3)
Impressum