BSON_CONCAT(3) libbson BSON_CONCAT(3)

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

March 31, 2024 1.26.0