logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

Deprecated since version 1.1.0: Use bson_copy_to_excluding_noinit() instead.

Author

       MongoDB, Inc

Description

       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.

Parameters

src: A bson_t.

       • dst: A bson_t.

       • first_exclude: The first field name to exclude.

Synopsis

          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.

See Also