bson_append_document_end man page

bson_append_document_end() — 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.

Synopsis

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

Parameters

bson
A bson_t
child
The child bson_t initialized in a call to bson_append_document_begin(3)

Description

The bson_append_document_end(3) function shall complete the appending of a document with bson_append_document_begin(3) child is invalid after calling this function.

Returns

true if the operation was applied successfully, otherwise false and bson should be discarded.

Colophon

This page is part of libbson. Please report any bugs at https://jira.mongodb.org/browse/CDRIVER.

Referenced By

bson_append_document_begin(3).

2016‐10‐28 libbson