- Node.js MongoDB Driver API
- Automattic/mongoose: MongoDB object modeling designed to work in an asynchronous environment.
Mongoose ODM v5.5.13 这货,在 new Schema
的时候,Schema
的属性,键名不可以是 modelName
,不然会卡住。
正确:
DataSource: {
url: String,
amazingName: String,
procedureName: String
},
错误:
DataSource: {
url: String,
modelName: String,
procedureName: String
},
坑死我了。