Query.getWhere().isLike("person","lastname","#ucase(lastname)#)

16 views
Skip to first unread message

Nathan Stanford Sr

unread,
Mar 29, 2012, 3:17:44 PM3/29/12
to reacto...@googlegroups.com
Query.getWhere().isLike("person","lastname","#ucase(lastname)#)

How can I make it case insensitive?

I know this will not work but what do I need to do to make sure when someone searches it will find the correct person.

Query.getWhere().isLike("person","UPPER(lastname)","#ucase(lastname)#)

Thanks,
Nathan

Tom Chiverton

unread,
Apr 2, 2012, 7:43:23 AM4/2/12
to Reactor
On Mar 29, 8:17 pm, Nathan Stanford Sr <nathan.stanf...@gmail.com>
wrote:
> Query.getWhere().isLike("person","lastname","#ucase(lastname)#)
>
> How can I make it case insensitive?

There should be a isLikeNoCase() ?

Tom
Reply all
Reply to author
Forward
0 new messages