Since reading this, I've been using Mariano's technique for limiting
results. It's a pretty slick way of handling this problem.
http://bakery.cakephp.org/articles/view/185
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google G
This is cool, thanks for the awesome replies.
On Nov 28, 10:13 am, "Ismael S. Kafeltz" <[EMAIL PROTECTED]> wrote:
> you may want to see this
> too:http://othy.wordpress.com/2006/06/03/unbind-all-associations-except-s...
>
> (this is twice i post this link...)
--~--~-~--~~-
you may want to see this too:
http://othy.wordpress.com/2006/06/03/unbind-all-associations-except-some/
(this is twice i post this link...)
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Cake PHP" group.
To post
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
--~--~-~--~~~---~--~~
Y