DOKK / manpages / debian 11 / libbson-doc / bson_concat.3.en
BSON_CONCAT(3) libbson BSON_CONCAT(3)

bson_concat - bson_concat()

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


  • dst: A bson_t.
  • src: A bson_t.

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

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

MongoDB, Inc

2017-present, MongoDB, Inc

June 4, 2021 1.17.6