SYNOPSIS
#include <bson.h> bool bson_append_iter (bson_t *bson, const char *key, int key_length, const bson_iter_t *iter);
DESCRIPTION
The bson_append_iter() function is a helper to append the current element from iter to bson.
If key is NULL terminated, -1 may be provided for key_length.
iter must be a valid iter currently viewing a field of another bson_t.
RETURN VALUE
TRUE if successful. Otherwise FALSE and no modifications are made.
ERRORS
FALSE if there is insufficient space to append the element.
SEE ALSO
AUTHORS
This page was written by MongoDB, Inc.