Does deleting a document in MongoDB also delete the documents(sub-documents) nested inside it completely

前端 未结 0 758
滥情空心
滥情空心 2020-12-03 02:28

Suppose the Schema is:

{
    name: String,
    age: Number,
    classes: { type: [classSchema] }
}

And I have a document corresponding to the

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