How can I get all sub docs in one function call in mongoose?

后端 未结 0 1692
清酒与你
清酒与你 2021-01-02 15:09

I\'ve a database schema like this --

const schema = new mongoose.Schema({
  name: {
    type: String,
    required: true,
    min: 3,
    max: 100,
  },
  ema         


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