bson_copy_to_excluding man page

bson_copy_to_excluding ā€” 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
   BSON_GNUC_DEPRECATED_FOR (bson_copy_to_excluding_noinit);

Parameters

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.

Deprecated

This function is deprecated. Please use bson_copy_to_excluding_noinit in new code.

WARNING:

bson_init is called on dst.

Author

MongoDB, Inc

Info

Nov 02, 2017 1.8.1 Libbson