How to insert and update nested arrays in mongoose

前端 未结 0 747
闹比i
闹比i 2021-02-20 07:15

My model:

const listSchema = mongoose.Schema({
    header: String,
    listItems: [String]
})

const BoardSchema = mongoose.Schema({
    name: {
        type: Str         


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