Provided by: libbson-doc_1.30.4-1ubuntu1_all bug

SYNOPSIS

          uint32_t
          bson_count_keys (const bson_t *bson);

PARAMETERS

bson: A bson_t.

DESCRIPTION

       The bson_count_keys() function shall count the number of elements within bson.

RETURNS

       A positive integer or zero.

AUTHOR

       MongoDB, Inc

COPYRIGHT

       2009-present, MongoDB, Inc.

1.30.4                                            Jun 08, 2025                                BSON_COUNT_KEYS(3)