bson_append_iter man page

bson_append_iter ā€” bson_append_iter()

Synopsis

bool
bson_append_iter (bson_t *bson,
                  const char *key,
                  int key_length,
                  const bson_iter_t *iter);

Parameters

Description

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.

Author

MongoDB, Inc

Info

Sep 15, 2017 1.8.0 Libbson