bson_iter_next()

Synopsis

bool
bson_iter_next (bson_iter_t *iter);

Parameters

iter

A bson_iter_t.

Description

Advances iter to the next element in the document if one exists.

Returns

true if iter was advanced, otherwise false and iter should be considered invalid.