bson_copy_to_excluding(3)

bson_copy_to_excluding3

Usage

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

WARNING:

Deprecated since version 1.1.0: Use bson_copy_to_excluding_noinit() instead.

Parameters

•

src: A bson_t.

•

dst: A bson_t.

•

first_exclude: The first field name to exclude.

Overview

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

WARNING:

bson_init() is called on dst.

Releases

5 releases since Debian 9 (Stretch); the text changed 4 times.

  1. 9
  2. 10
  3. 11
  4. 12
  5. 13

Author

MongoDB, Inc

From libbson-doc 1.30.4-1+deb13u3 in Debian 13 (Trixie). Parsed by carta from the page's man source.