DOKK / manpages / debian 12 / libbson-doc / bson_append_document_end.3.en
BSON_APPEND_DOCUMENT_END(3) libbson BSON_APPEND_DOCUMENT_END(3)

bson_append_document_end - bson_append_document_end()

bool
bson_append_document_end (bson_t *bson, bson_t *child);


  • bson: A bson_t.
  • child: The child bson_t initialized in a call to bson_append_document_begin().

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.

Returns true if successful.

MongoDB, Inc

2017-present, MongoDB, Inc

October 20, 2022 1.23.1