bson_count_keys man page

bson_count_keys — bson_count_keys()

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

Info

Feb 09, 2017 1.6.0 Libbson