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

SYNOPSIS

6          #define BSON_APPEND_NULL(b, key) bson_append_null (b, key, (int) strlen (key))
7
8          bool
9          bson_append_null (bson_t *bson, const char *key, int key_length);
10

PARAMETERS

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

DESCRIPTION

20       The bson_append_null() function shall append a new element to  bson  of
21       type BSON_TYPE_NULL.
22

RETURNS

24       Returns  true  if  the operation was applied successfully. The function
25       will fail if appending the value grows bson larger than INT32_MAX.
26

AUTHOR

28       MongoDB, Inc
29
31       2017-present, MongoDB, Inc
32
33
34
35
361.25.1                           Nov 08, 2023              BSON_APPEND_NULL(3)
Impressum