mongoc_bulk_operation_get_comment - Man Page

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.

Author

MongoDB, Inc

Info

Sep 04, 2026 2.5.2 libmongoc