DOKK / manpages / debian 11 / libbson-doc / bson_append_array_end.3.en
BSON_APPEND_ARRAY_END(3) libbson BSON_APPEND_ARRAY_END(3)

bson_append_array_end - bson_append_array_end()

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


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

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

Returns true if successful.

MongoDB, Inc

2017-present, MongoDB, Inc

June 4, 2021 1.17.6