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