With Mongoose is there a way to construct a schema with multiple objects instead of 1?

后端 未结 0 1941
眼角桃花
眼角桃花 2020-11-21 10:28

Environment: Mongoose, Node.js

Mongoose Schemas are created by passing a single object into mongoose.Schema({}).

For example:

相关标签:
回答
  • 消灭零回复
提交回复
热议问题