appmetrics
appmetrics copied to clipboard
Mongo query with Regex
Given a Mongo search with a regex:
Entry.find({content:new RegExp(term, 'i')})
I'm seeing this for the query:
{"content":{}}
It seems to have lost the regular expression.
Will take a look at this and update later