bson_concat() — libbson 1.6.3

- libbson 1.6.3 »
- 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

true if the operation was applied successfully, otherwise false and `dst` should be discarded.

### 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.5.3, based on Sphinx Readable Theme.