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

NAME

6       mongoc_bulk_operation_set_comment - mongoc_bulk_operation_set_comment()
7

SYNOPSIS

9          void
10          mongoc_bulk_operation_set_comment (
11             mongoc_bulk_operation_t *bulk, const bson_value_t *comment);
12

PARAMETERS

14bulk: A mongoc_bulk_operation_t.
15
16comment: A bson_value_t specifying the comment to associate with this
17         bulk write.
18

DESCRIPTION

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

AUTHOR

29       MongoDB, Inc
30
32       2017-present, MongoDB, Inc
33
34
35
36
371.24.3                           Aug 17, 20M2O3NGOC_BULK_OPERATION_SET_COMMENT(3)
Impressum