bool
Contents
Copyright
2009-present, MongoDB, Inc.
1.30.4 Jun 08, 2025 BSON_ITER_NEXT(3)
Description
Advances iter to the next element in the document.
Parameters
• iter: A bson_iter_t.
Returns
true if iter was advanced. Returns false if iter has passed the last element in the document or
encountered invalid BSON.
It is a programming error to use iter after this function has returned false.
Synopsis
bool
bson_iter_next (bson_iter_t *iter);
