Risk-Aware Code Review: Auto Approve Low-Risk Changes
LiveReview LiveReview LiveReview - Free, Risk-Aware Code Review: Auto Approve Low-Risk Changes | Product Hunt LiveReview - Free, Risk-Aware Code Review: Auto Approve Low-Risk Changes | Product Hunt GitHub Install Now

We'd appreciate a star

Author

       MongoDB, Inc

Description

       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().

Parameters

       • writer: A bson_writer_t.

       • bson: A bson_t.

Returns

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

Synopsis

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

See Also