bson_count_keys man page

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

Synopsis

uint32_t
bson_count_keys (const bson_t *bson);

Parameters

bson
A bson_t

Description

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

Returns

A positive integer or zero.

Colophon

This page is part of libbson. Please report any bugs at https://jira.mongodb.org/browse/CDRIVER.

Info

2016‐10‐28 libbson