Scroll to navigation

MONGOC_BULK_OPERATION_GET_COMMENT(3) libmongoc MONGOC_BULK_OPERATION_GET_COMMENT(3)

SYNOPSIS

const bson_value_t*
mongoc_bulk_operation_get_comment (const mongoc_bulk_operation_t *bulk);


PARAMETERS

bulk: A mongoc_bulk_operation_t <>.

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

Copyright

2009-present, MongoDB, Inc.

August 27, 2026 2.5.1