found a way you can use sql-alias AS whith paginate
> $this->paginate['fields'] = array('Student.id', 'Student.vorname',
> 'Student.nachname', ... 'Group.name AS Gruppe');
it works when written between 2 ((
do something like this:
$this->paginate['fields'] = array('Student.id', 'Student.vorname',
'Student.nachname', ... '((Group.name)) AS Gruppe');
hope this helps
./klaus
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---