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.
Mongo db allows any comment type, but we restrict it to String
New in version 4.4.
Implementation
final String? comment;