I am trying to create a query that is case insensitive.
My original query is
"where": '{"username":"' + username + '"}'
How do I make this case insensitive??
I tried
"where": '{"username":{ $regex: /+ username +/i } }'
with no success.
I am trying to create a query that is case insensitive.
My original query is
"where": '{"username":"' + username + '"}'
How do I make this case insensitive??
I tried
"where": '{"username":{ $regex: /+ username +/i } }'
with no success.
Hi Christopher,
Parameter 'where' should have this format:pre{"username":{"$regex":"username", "$options":"i"}}/pre
Find more here: https://getsatisfaction.com/apperyio/...