Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
MONGOC_BULK_O...ON_SET_COMMENT(3)  libmongoc MONGOC_BULK_O...ON_SET_COMMENT(3)

SYNOPSIS
	  void
	  mongoc_bulk_operation_set_comment (
	     mongoc_bulk_operation_t *bulk, const bson_value_t *comment);

PARAMETERS
        bulk: A mongoc_bulk_operation_t.

        comment: A bson_value_t specifying the	comment	to associate with this
	 bulk write.

DESCRIPTION
       Assigns	a  comment  to attach to all commands executed as part of this
       bulk. The comment will appear in	log  messages,	profiler  output,  and
       currentOp  output.  Comments  for  write	commands are only supported by
       MongoDB 4.4+.

       It is prohibited	to call	this function after adding operations  to  the
       bulk.

AUTHOR
       MongoDB,	Inc

COPYRIGHT
       2009-present, MongoDB, Inc.

1.30.2				 Apr 12, 2025MONGOC_BULK_O...ON_SET_COMMENT(3)

Want to link to this manual page? Use this URL:
<https://man.freebsd.org/cgi/man.cgi?query=mongoc_bulk_operation_set_comment&sektion=3&manpath=FreeBSD+Ports+14.3.quarterly>

home | help