bson_writer_begin(3)

bson_writer_begin3

Usage

bool
bson_writer_begin (bson_writer_t *writer, bson_t **bson);

Parameters

•

writer: A bson_writer_t.

•

bson: A bson_t.

Overview

Begins writing a new document. The caller may use the bson structure to write out a new BSON document. When completed, the caller must call either bson_writer_end() or bson_writer_rollback().

Returns

true if there was space in the underlying buffers to begin the document.

Releases

5 releases since Debian 9 (Stretch); the text changed 4 times.

  1. 9
  2. 10
  3. 11
  4. 12
  5. 13

Author

MongoDB, Inc

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