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

Author

       MongoDB, Inc

Description

       The bson_concat() function shall append the contents of src to dst.

Parameters

       • dst: A bson_t.

       • src: A bson_t.

Returns

       Returns  true  if  successful; false if the operation would overflow the maximum document size or another
       invalid state is detected.

Synopsis

          bool
          bson_concat (bson_t *dst, const bson_t *src);

See Also