1 answer
0 votes
Asked by Smashy, on 20/12/09 in
find - conditions - uppercase in LIKE
Hi,
I'm having data with upper and lowercase, ex. Company, COMPANY etc. As I tested LIKE is case sensitive.
<?php $partners = $this->Partner->find('all', array(
'conditions'=>array('Partner.name... 2 answers
0 votes
Asked by wesert, on 2/3/10 in
multiple LIKE conditions
Hello!
Could you, please, tell me if it is possible to query model table with multiple LIKEs?
I need something like that:
select FirstName, LastName from users
where (FirstName LIKE '%a' OR FirstName LIKE '%b' OR FirstName LIKE '%c')
AND (LastName...
<< previous next >>