- libbson 1.13.1 »
- API Reference »
- bson_t

# bson_concat()

## Synopsis

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

## Parameters

- `dst`: A bson_t.
- `src`: A bson_t.

## Description

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

## Returns

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

### See Also:

bson_init

bson_init_from_json

bson_init_static

bson_new

bson_new_from_buffer

bson_new_from_data

bson_new_from_json

bson_reinit

bson_reserve_buffer

bson_sized_new

Created using Sphinx 1.8.3, based on Sphinx Readable Theme.