像Oracle/mysql都可以给表中字段加注释,例如:
comment on column t1.id is 'id';
comment on column t1.nameis '姓名';
comment on column t1.age is '年龄';
所以我想问问,mongodb是不是也有什么方法可以加注释啊
習慣沉默2017-05-02 09:21:39
Probably not. Or pick a good field name, or write comments in the document.