carta
bson_iter_visit_all(3)

bson_iter_visit_all3

Parameters

•

iter: A bson_iter_t.

•

visitor: A bson_visitor_t.

•

data: Optional data for visitor.

Overview

A convenience function to iterate all remaining fields of iter using the callback vtable provided by visitor.

Returns

Returns true if visitation was prematurely stopped by a callback function. Returns false either because all elements were visited or due to corrupt BSON.

See bson_visitor_t for examples of how to set your own callbacks to provide information about the location of corrupt or unsupported BSON document entries.

History

  • Debian 13 (Trixie): the text shown here
  • Debian 12 (Bookworm)
  • Debian 11 (Bullseye)
  • Debian 10 (Buster)
  • Debian 9 (Stretch)

Author

MongoDB, Inc

From libbson-doc 1.30.4-1+deb13u3 in Debian 13 (Trixie). Parsed by carta from the page's man source.