SYNOPSIS

#include <bson.h>

uint32_t
bson_count_keys (const bson_t *bson);

DESCRIPTION

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

RETURN VALUE

A positive integer greather than or equal to zero.

AUTHORS

This page was written by MongoDB, Inc.