[SOLVED] Case insensitive equalTo

How to query with case insensitive?
query.equalTo("username", username);

Found this on google: https://stackoverflow.com/questions/18762881/search-for-case-insensitive-data-from-parse-using-javascript


query.matches(key, value, 'i');

Didn’t test it

1 Like

it’s working. Thanks.
query.matches("username", userName, "i");

1 Like