bson_iter_next(3) Advances iter to the next element in the document if one exists.

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.

COLOPHON

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