SYNOPSIS
#include <bson.h> void bson_copy_to_excluding (const bson_t *src, bson_t *dst, const char *first_exclude, ...) BSON_GNUC_NULL_TERMINATED;
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.
This is generally not needed except in specific situations.
EXAMPLE
bson_copy_to_excluding (src, dst, "_id", "foo", "bar", NULL);
ERRORS
No errors are defined.
AUTHORS
This page was written by MongoDB, Inc.