Risk-Aware AI Code Review for Business-Critical Systems
LiveReview LiveReview Explore LiveReview

Author

       MongoDB, Inc

Description

       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.

Parameters

       • bson: A bson_t.

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

Returns

       Returns true if successful.

       SEEALSO:bson_array_builder_t

Synopsis

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

See Also