if it is the only relation then you can use
$this->ModelName->recursive = -1;  // undoes all relations

if it is one of many relations and that is the only one you do not want try

$this->ModelName->unbindModel(array('hasMany'=>array('Image')));


On 11/28/06, Kesher <[EMAIL PROTECTED]> wrote:
>
>
> Hi, maybe this is obvious but I don't know how to do it. I have the
> table "news" which hasMany of the "images" table.
>
> The question is: how can I findAll the news without selecting the
> images table at all? Speed reasons
>
> Thanks you bakers
>
>
> >
>


-- 
==
S. DeVore
(the old fart) the advice is free, the lack of crankiness will cost you

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

Reply via email to