BSON_APPEND_ARRAY_END(3)

NAME
bson_append_array_end()

SYNOPSIS
bool
bson_append_array_end (bson_t *bson,
                       bson_t *child);

PARAMETERS

bson
    A bson_t .

child
    The bson_t initialized in a call to bson_append_array_begin(3) .

DESCRIPTION
The bson_append_array_end(3) function shall complete the appending of an array field started with bson_append_array_begin(3) . child is invalid after calling this function.

RETURNS
true if there the operation could be applied without overflowing.

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