appmetrics icon indicating copy to clipboard operation
appmetrics copied to clipboard

Mongo query with Regex

Open cfjedimaster opened this issue 9 years ago • 1 comments

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.

cfjedimaster avatar Apr 04 '16 18:04 cfjedimaster

Will take a look at this and update later

tobespc avatar Apr 08 '16 07:04 tobespc