Hi All,

nate wrote:
> var $paginate = array('limit' => 20, 'order' => ...); // Anything you
> can pass to Model::findAll can be set here
Is it going to be possible to specify which relationships are included
in the main model query in 1.2, or to specify constraints for
subsequent queries (I´m guessing it is)? If not, as is the present
case constraints for hasMany and HABTM relationship tables won´t be
possible to include - unless something else has changed..?

Tease me, tease me :).

You can work around it, but it´s a bit messy - Query the sub table,
resort the array apply any kind of filtering and then get the array
items that correspond to your pagination values. I have some example
code for this somewhere..

Cheers,

AD7six


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/cake-php
-~----------~----~----~----~------~----~------~--~---

Reply via email to