1BSON_HAS_FIELD(3)                   libbson                  BSON_HAS_FIELD(3)
2
3
4

NAME

6       bson_has_field - bson_has_field()
7

SYNOPSIS

9          bool
10          bson_has_field (const bson_t *bson, const char *key);
11

PARAMETERS

13bson: A bson_t.
14
15key: A string containing the name of the field to check for.
16

DESCRIPTION

18       Checks  to  see if key contains an element named key. This also accepts
19       "dotkey" notation such as "a.b.c.d".
20

RETURNS

22       true if key was found within bson; otherwise false.
23

AUTHOR

25       MongoDB, Inc
26
28       2017-present, MongoDB, Inc
29
30
31
32
331.20.0                           Nov 18, 2021                BSON_HAS_FIELD(3)
Impressum