Your browser does not seem to support JavaScript. As a result, your viewing experience will be diminished, and you have been placed in read-only mode.
Please download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript).
比如我想增加一个字段,想指定类型为int,并且默认值为0.,请问该如何做?
int
0
目前尚未提供這個功能,不過你可以持續關注開發進度
Allow default values to be set for new documents
https://jira.mongodb.org/browse/SERVER-24430
与 萌阔论坛 的连接断开,我们正在尝试重连,请耐心等待