Getting objects filtered by populate value mongoose

后端 未结 0 1992
日久生厌
日久生厌 2021-01-05 06:50

I want to get all chats where name or surname is equal to search regex value.

I tried this :

 Chat.find({
        users: req.params.id
    })
        .         


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