bool
Contents
Copyright
2009-present, MongoDB, Inc.
1.30.4 Jun 08, 2025 BSON_CONCAT(3)
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);
