1MONGOC_BULK_OPERATION_SET_COMMENT(3)libmongoMcONGOC_BULK_OPERATION_SET_COMMENT(3)
2
3
4

SYNOPSIS

6          void
7          mongoc_bulk_operation_set_comment (
8             mongoc_bulk_operation_t *bulk, const bson_value_t *comment);
9

PARAMETERS

11bulk: A mongoc_bulk_operation_t.
12
13comment: A bson_value_t specifying the comment to associate with this
14         bulk write.
15

DESCRIPTION

17       Assigns a comment to attach to all commands executed as  part  of  this
18       bulk.  The  comment  will  appear in log messages, profiler output, and
19       currentOp output. Comments for write commands  are  only  supported  by
20       MongoDB 4.4+.
21
22       It  is  prohibited to call this function after adding operations to the
23       bulk.
24

AUTHOR

26       MongoDB, Inc
27
29       2017-present, MongoDB, Inc
30
31
32
33
341.25.1                           Nov 08, 20M2O3NGOC_BULK_OPERATION_SET_COMMENT(3)
Impressum