carta
bson_append_iter(3)

bson_append_iter3

Parameters

•

bson: A bson_t.

•

key: Optional field name. If NULL, uses bson_iter_key(iter).

•

key_length: The length of key or -1 to use strlen().

•

iter: A bson_iter_t located on the position of the element to append.

Overview

Appends the value at the current position of iter to the document.

Returns

Returns true if successful; false if the operation would overflow the maximum document size or another invalid state is detected.

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.