bson_count_keys - Man Page

bson_count_keys()

Synopsis

uint32_t
bson_count_keys (const bson_t *bson);

Parameters

Description

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

Returns

A positive integer or zero.

Author

MongoDB, Inc

Info

Jan 19, 2023 1.23.2 libbson