the above code is case sensitive how can i make it case insensitive
the above code is case sensitive how can i make it case insensitive
the above code is case sensitive how can i make it case insensitive
Hi AKR,
You can use regEx with options: "i" instead of direct value:
For example:
pre
{"westlothian": {"$regex": westlothian, "$options":"i"} },
/pre
Regard.
how did you implement this? I need to do the same thing. Where do you add this in the where ?