bool
Contents
Copyright
2009-present, MongoDB, Inc.
1.30.4 Jun 08, 2025 BSON_APPEND_DOCUMENT_END(3)
Description
The bson_append_document_end() function shall complete the appending of a document with
bson_append_document_begin(). child is invalid after calling this function.
Parameters
• bson: A bson_t.
• child: The child bson_t initialized in a call to bson_append_document_begin().
Returns
Returns true if successful.
Synopsis
bool
bson_append_document_end (bson_t *bson, bson_t *child);
