---
name: "bson_append_document_end"
section: "3"
platform: "linux"
package: "libbson-doc"
version: "1.30.4-1+deb13u3"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/bson_append_document_end"
---

# bson\_append\_document\_end(3)

## SYNOPSIS

```
bool
bson_append_document_end (bson_t *bson, bson_t *child);
```

## PARAMETERS

- •

  **bson**: A *bson\_t*.

- •

  **child**: The child *bson\_t* initialized in a call to *bson\_append\_document\_begin()*.

## DESCRIPTION

The *bson\_append\_document\_end()* function shall complete the appending of a document with *bson\_append\_document\_begin()*. **child** is invalid after calling this function.

## RETURNS

Returns **true** if successful.

## AUTHOR

MongoDB, Inc

## COPYRIGHT

2009-present, MongoDB, Inc.
