mongoc_bulk_operation_get_comment()#

Synopsis#

const bson_value_t*
mongoc_bulk_operation_get_comment (const mongoc_bulk_operation_t *bulk);

Parameters#

Description#

Retrieves the comment to attach to all commands executed as part of this bulk. The comment will appear in log messages, profiler output, and currentOp output.

Returns#

A bson_value_t that should not be modified or freed.