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

void

Author

       MongoDB, Inc

Description

       Assigns a comment to attach to all commands executed as part of this bulk. The comment will appear in log
       messages,  profiler  output,  and  currentOp  output.  Comments  for write commands are only supported by
       MongoDB 4.4+.

       It is prohibited to call this function after adding operations to the bulk.

Parameters

       • bulk: A mongoc_bulk_operation_t.

       • comment: A bson_value_t specifying the comment to associate with this bulk write.

Synopsis

          void
          mongoc_bulk_operation_set_comment (
             mongoc_bulk_operation_t *bulk, const bson_value_t *comment);

See Also