|
|
| Perl-Sensitive Sunglasses | |
| PerlMonks |
Re: DBIx::Class case insensitve substring search.by duelafn (Priest) |
| on May 25, 2011 at 20:26 UTC ( #906703=note: print w/ replies, xml ) | Need Help?? |
|
Your result from google searching works for me. Try again? (code as you have it is a syntax error!) my $searched_rs = $all_items->search({ 'LOWER(me.name)' => { 'LIKE' => '%example%' } });You can also trace the DBIx::Class queries using DBIC_TRACE DBIC_TRACE=1 perl /tmp/test.plGood Day,
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||