Scroll to navigation

MONGOC_BULKWRITEOPTS_SET_COMMENT(3) libmongoc MONGOC_BULKWRITEOPTS_SET_COMMENT(3)

SYNOPSIS

void
mongoc_bulkwriteopts_set_comment (mongoc_bulkwriteopts_t *self, const bson_value_t *comment);


DESCRIPTION

Enables users to specify an arbitrary comment to help trace the operation through the database profiler, currentOp and logs.

Author

MongoDB, Inc

Copyright

2009-present, MongoDB, Inc.

November 26, 2025 2.2.0