How do I match multiple words in MongoDB?

前端 未结 0 777
孤城傲影
孤城傲影 2021-01-14 17:48

I have a field in my collection call paragraph. Now I am doing a regex search like this -

db.getCollection(\'test\').find({ paragraph: {$regex: "/test|wo         


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