Searching for multiple fields with Regex Mongoose

后端 未结 0 1488
攒了一身酷
攒了一身酷 2020-12-01 21:44

I managed to use regex to search for keywords in the "name" fields. How can i add a second field (description) in the same keyword? So far i have:

c         


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