On Tue, May 13, 2008 at 2:17 PM, David <[EMAIL PROTECTED]> wrote:

>
> Hey folks, I need to run a findAll using HAVING instead of WHERE. Is
> there a way to do this without having to manually construct a set of
> queries? I'm using 1.2b. Your help is greatly appreciated.



Well you need to trick Cake a bit as the conditions in options put "1=1
HAVING blah"


HTH

Tarique

-- 
=============================================================
Cheesecake-Photoblog: http://cheesecake-photoblog.org
PHP for E-Biz: http://sanisoft.com
=============================================================

--~--~---------~--~----~------------~-------~--~----~
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