1BSON_COUNT_KEYS(3) libbson BSON_COUNT_KEYS(3)
23
4
NAME
6bson_count_keys - bson_count_keys()
7
SYNOPSIS
9uint32_t
10bson_count_keys (const bson_t *bson);
11
PARAMETERS
13• bson: A bson_t.
14
DESCRIPTION
16The bson_count_keys() function shall count the number of elements
17within bson.
18
RETURNS
20A positive integer or zero.
21
AUTHOR
23MongoDB, Inc
24
COPYRIGHT
262017-present, MongoDB, Inc
2728
29
30
31
1.24.3 Aug 17, 2023 BSON_COUNT_KEYS(3)