1BSON_COPY_TO_EXCLUDING(3) libbson BSON_COPY_TO_EXCLUDING(3)
2
3
4
6 bson_copy_to_excluding - bson_copy_to_excluding()
7
8 WARNING:
9 Deprecated since version 1.1.0: This function is deprecated and
10 should not be used in new code.
11
12 Please use bson_copy_to_excluding_noinit() in new code.
13
14
16 void
17 bson_copy_to_excluding (const bson_t *src,
18 bson_t *dst,
19 const char *first_exclude,
20 ...) BSON_GNUC_NULL_TERMINATED
21 BSON_GNUC_DEPRECATED_FOR (bson_copy_to_excluding_noinit);
22
24 • src: A bson_t.
25
26 • dst: A bson_t.
27
28 • first_exclude: The first field name to exclude.
29
31 The bson_copy_to_excluding() function shall copy all fields from src to
32 dst except those specified by the variadic, NULL terminated list of
33 keys starting from first_exclude.
34
35 WARNING:
36 bson_init() is called on dst.
37
39 MongoDB, Inc
40
42 2017-present, MongoDB, Inc
43
44
45
46
471.24.3 Aug 17, 2023 BSON_COPY_TO_EXCLUDING(3)