i had the same question a while back:
http://www.nabble.com/Filtering-HABTM-associations-using-columns-in-both-models-tf2699228.html#a7991028
keymaster wrote:
I have a fairly custom SQL query, which probably *could* be written
with findAll(), but would involve unpleasant contortions.
I figure this is why the cake developers provided us with query() for
the complex stuff, while letting us unload the easier time consuming
stuff on findAll().
My question is: what am I losing out on by going with a custom SQL
query() instead of the findAll()?
Thanks.
>
--
View this message in context:
http://www.nabble.com/Any-downside-to-using-direct-SQL-with-query%28%29-tf3011569.html#a8368054
Sent from the CakePHP mailing list archive at Nabble.com.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake
PHP" 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
-~----------~----~----~----~------~----~------~--~---