mongorito icon indicating copy to clipboard operation
mongorito copied to clipboard

Can't use $regex

Open alphanso opened this issue 7 years ago • 1 comments

Hi,

I can't use $regex with simple string. I have been through code and can use $regex if you pass a value which is regex in where. I want to pass a simple string in where to regex.

Regards Rishabh

alphanso avatar Nov 14 '16 17:11 alphanso

Could you paste the code you are using to query the db?

vadimdemedes avatar Nov 15 '16 21:11 vadimdemedes