1BSON_COPY(3)                        libbson                       BSON_COPY(3)
2
3
4

SYNOPSIS

6          bson_t *
7          bson_copy (const bson_t *bson);
8

PARAMETERS

10bson: A bson_t.
11

DESCRIPTION

13       The  bson_copy()  function  shall  copy the contents of a bson document
14       into a new bson_t.
15
16       The resulting bson_t should be freed with bson_destroy().
17

RETURNS

19       A newly allocated bson_t that should be freed with bson_destroy().
20

AUTHOR

22       MongoDB, Inc
23
25       2017-present, MongoDB, Inc
26
27
28
29
301.25.1                           Nov 08, 2023                     BSON_COPY(3)
Impressum