bson_iter_next man page

bson_iter_next() — Advances iter to the next element in the document.

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.

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.

Colophon

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

Referenced By

bson_iter_init(3).

2016‐11‐27 libbson