SYNOPSIS

#include <bson.h>

bool
bson_iter_next (bson_iter_t *iter);

DESCRIPTION

The bson_iter_next() function shall advance iter to the next element of the underlying document.

If all elements have been exhausted, FALSE is returned and iter should be considered invalid.

RETURN VALUE

TRUE if iter was advanced to the next element. FALSE if iter is now invalid.

ERRORS

No errors are defined.

SEE ALSO

AUTHORS

This page was written by MongoDB, Inc.