comment property
A user-provided comment to attach to this command. Once set, this comment appears alongside records of this command in the following locations:
- mongod log messages, in the attr.command.cursor.comment field.
- Database profiler output, in the command.comment field.
- currentOp output, in the command.comment field.
A comment can be only of type String unlike MongoDb that allows any valid BSON type
New in version 4.4.
Implementation
final String? comment;