Hi all,

  Does anyone know if it's possible to specify which fields are
returned in a call to paginate, including fields from nested models.
Something like:

        $this->paginate['MyModel']['fields'] = array(
            'DISTINCT MyModel.id, MyModel.title,
                MyModelParent.id, MyModelParent.title',
                MyModelParent.MyModelParent.id,
MyModelParent.MyModelParent.title');

  The above doesn't work, and I can't think of an alternative syntax
that might.

  Cheers,

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