- 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
},
坑死我了枢纠。