How to create relationship between an embedded documents with another document in mongoose

后端 未结 0 1176
-上瘾入骨i
-上瘾入骨i 2020-12-22 17:47

Here are the schemas:

Project Schema:

const ProjectSchema = new mongoose.Schema({
name: { type: String },
campaigns: [
    {
        name: { type: Stri         


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