Hi everyone!

First of all I'm new to Cake (which you'll probably see) - my question
is this:

$this->set('invoices', $this->Invoice->findAll());

does exactly what I want it to do, except that I also want to
incorporate a custom field into the query. That field would be

CONCAT(year,month,day,`index`) as invoiceid

Is it anyway to add this custom field to the findAll() query without
having to specify all the other fields I need (cause I need them all)?

Thanks in advance, and thanks for a great framework.


--~--~---------~--~----~------------~-------~--~----~
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?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to