@Miles J - Of course, I was concentrating on using cake to build the
SQL so much that I missed the obvious mistake in creating the
conditions array.

I don't suppose cake would handle the following:

array('Post.title LIKE'=>array('%mary%', '%tom%'), 'Post.description
LIKE'=>array('%mary%', '%tom%'))

I know without supplying the LIKE operator cake creates something
like:

WHERE Post.title IN ('%mary%', '%tom%') OR Post.description IN ('%mary
%', '%tom%')

So the core can't be that far away from being able to do the same for
LIKE statements.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to