How to query mongo by regexMatch with mongo variable

后端 未结 0 1019
悲哀的现实
悲哀的现实 2021-02-02 05:51

I want to query documents by mongo variables. In other words, I need to use the $ operator in my query. For example: I need to query documents that contain foo elem

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