How to get this parent child query data in Mongo DB

前端 未结 0 1148
猫巷女王i
猫巷女王i 2021-01-04 22:40

I am building a simple messaging system and I have a messageSchema which is setup as below:

const messageSchema = new mongoose.Schema({
replyTo: {
    type: m         


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