Mongoose Find not filtering for object property inside array (MongoDB 4.4.1)

后端 未结 0 743
攒了一身酷
攒了一身酷 2020-12-01 08:02

I\'ve been trying to make a chat app and I use the following schema for messages:


const messageObject = {
    sender:  {type: mongoose.Schema.Types.ObjectId,         


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