1BSON_COPY_TO_EXCLUDING(3)           libbson          BSON_COPY_TO_EXCLUDING(3)
2
3
4

NAME

6       bson_copy_to_excluding - bson_copy_to_excluding()
7

SYNOPSIS

9          void
10          bson_copy_to_excluding (const bson_t *src,
11                                  bson_t *dst,
12                                  const char *first_exclude,
13                                  ...) BSON_GNUC_NULL_TERMINATED
14             BSON_GNUC_DEPRECATED_FOR (bson_copy_to_excluding_noinit);
15

PARAMETERS

17       · src: A bson_t.
18
19       · dst: A bson_t.
20
21       · first_exclude: The first field name to exclude.
22

DESCRIPTION

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

DEPRECATED

29          This   function   is  deprecated.  Please  use  bson_copy_to_exclud‐
30          ing_noinit in new code.
31
32       WARNING:
33          bson_init is called on dst.
34

AUTHOR

36       MongoDB, Inc
37
39       2017-present, MongoDB, Inc
40
41
42
43
441.16.2                           Feb 25, 2020        BSON_COPY_TO_EXCLUDING(3)
Impressum