bson_copy_to_excluding (3) - Linux Manuals
bson_copy_to_excluding: 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.
NAME
bson_copy_to_excluding() - 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.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(3) function shall copy all fields from src to dst except those speified by the variadic, NULL terminated list of keys starting from first_exclude \&.
NOTE
- This is generally not needed except in very special situations.
COLOPHON
This page is part of libbson. Please report any bugs at https://jira.mongodb.org/browse/CDRIVER.