| BSON_COUNT_KEYS(3) | libbson | BSON_COUNT_KEYS(3) |
uint32_t bson_count_keys (const bson_t *bson);
The bson_count_keys() function shall count the number of elements within bson.
A positive integer or zero.
MongoDB, Inc
2009-present, MongoDB, Inc.
| May 7, 2025 | 1.30.4 |