阅读背景:

Mongo查询与Regex在Node JS中操作一个变量。

来源:互联网 

I have a problem here. I want to query my MongoDB in my Node JS file using something like LIKE for a conventional relational db. The problem is the thing I want to LIKE to is not a literal...it is a variable! I have found no good way to do this as of yet. Here was the "durrr first try" shot I took at it:I have a problem here. I want to query my Mongo




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: