bson_count_keys (3) - Linux Manuals

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

NAME

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.