bson_copy_to_excluding() — libbson 1.6.3

- libbson 1.6.3 »
- API Reference »
- bson_t

# bson_copy_to_excluding()

## Synopsis

    void
    bson_copy_to_excluding (const bson_t *src,
                            bson_t *dst,
                            const char *first_exclude,
                            ...) BSON_GNUC_NULL_TERMINATED;

## Parameters

- `src`: A bson_t.
- `dst`: A bson_t.
- `first_exclude`: The first field name to exclude.

## Description

The bson_copy_to_excluding() function shall copy all fields from `src` to `dst` except those speified by the variadic, NULL terminated list of keys starting from `first_exclude`.

Created using Sphinx 1.5.3, based on Sphinx Readable Theme.