.\" Man page generated from reStructuredText.
.
.
.nr rst2man-indent-level 0
.
.de1 rstReportMargin
\\$1 \\n[an-margin]
level \\n[rst2man-indent-level]
level margin: \\n[rst2man-indent\\n[rst2man-indent-level]]
-
\\n[rst2man-indent0]
\\n[rst2man-indent1]
\\n[rst2man-indent2]
..
.de1 INDENT
.\" .rstReportMargin pre:
. RS \\$1
. nr rst2man-indent\\n[rst2man-indent-level] \\n[an-margin]
. nr rst2man-indent-level +1
.\" .rstReportMargin post:
..
.de UNINDENT
. RE
.\" indent \\n[an-margin]
.\" old: \\n[rst2man-indent\\n[rst2man-indent-level]]
.nr rst2man-indent-level -1
.\" new: \\n[rst2man-indent\\n[rst2man-indent-level]]
.in \\n[rst2man-indent\\n[rst2man-indent-level]]u
..
.TH "MONGOC_BULK_OPERATION_SET_COMMENT" "3" "Oct 20, 2022" "1.23.1" "libmongoc"
.SH NAME
mongoc_bulk_operation_set_comment \- mongoc_bulk_operation_set_comment()
.SH SYNOPSIS
.INDENT 0.0
.INDENT 3.5
.sp
.nf
.ft C
void
mongoc_bulk_operation_set_comment (
   mongoc_bulk_operation_t *bulk, const bson_value_t *comment);
.ft P
.fi
.UNINDENT
.UNINDENT
.SH PARAMETERS
.INDENT 0.0
.IP \(bu 2
\fBbulk\fP: A \fI\%mongoc_bulk_operation_t\fP\&.
.IP \(bu 2
\fBcomment\fP: A \fI\%bson_value_t\fP specifying the comment to associate with this bulk write.
.UNINDENT
.SH DESCRIPTION
.sp
Assigns a comment to attach to all commands executed as part of this \fI\%bulk\fP\&. The comment will appear in log messages, profiler output, and currentOp output. Comments for write commands are only supported by MongoDB 4.4+.
.sp
It is prohibited to call this function after adding operations to the \fI\%bulk\fP\&.
.SH AUTHOR
MongoDB, Inc
.SH COPYRIGHT
2017-present, MongoDB, Inc
.\" Generated by docutils manpage writer.
.