Like Oracle/mysql, you can annotate fields in a table, for example:
comment on column t1.id is 'id';
Comment on column t1.nameis' name';
Comment on column t1.age is 'age';
So I want to ask, mongodb is there any way to add comments?
I don’t think so. Either take a good field name or write a comment in the document.