I have followed this guide on querying datastore: http://devcenter.kinvey.com/android/guides/datastore#querying but it seems that the query is case-sensitive.
The `Query` class has a `regex(String field, String regex)` method which you can use for this by defining a case-insensitive regex.
Something like:
Query myQuery = new Query().regex("myJSONKey", myRegex);
Here is the documentation: http://devcenter.kinvey.com/android/reference/api/java/reference/com/kinvey/java/Query.html#regEx(java.lang.String, java.lang.Object)
J
Janaka Jayasuriya
said
about 7 years ago
Thank you Edward.
I'm new at this so I hadn't used regex before. So I beleive "myRegex" would be something like:
Janaka Jayasuriya
How do I make a case-insensitive query?