I am trying to create a query which has the following 2 criteria:
- Should be partial string match instead of an exact match
- Should be case insensitive
My query is currently like this:
return list("company=?1 and name?=2", company, name);
However this doesn't do partial string match. Is there an operator for this?
Just for clarity's sake, assuming the DB contains peter, Peter, peTeR, a query for name=peter should return all 3 names.