BSON_COUNT_KEYS(3) libbson BSON_COUNT_KEYS(3)

uint32_t
bson_count_keys (const bson_t *bson);


bson: A bson_t.

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

A positive integer or zero.

MongoDB, Inc

2017-present, MongoDB, Inc

March 31, 2024 1.26.0