carta
bson_copy(3)

bson_copy3

Parameters

•

bson: A bson_t.

Overview

The bson_copy() function shall copy the contents of a bson document into a new bson_t.

The resulting bson_t should be freed with bson_destroy().

Returns

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

History

  • Debian 13 (Trixie): the text shown here
  • Debian 12 (Bookworm)
  • Debian 11 (Bullseye)
  • Debian 10 (Buster)
  • Debian 9 (Stretch)

Author

MongoDB, Inc

From libbson-doc 1.30.4-1+deb13u3 in Debian 13 (Trixie). Parsed by carta from the page's man source.