Just looked through the code :) and no, it accepts a positive list of fields to include!
But maybe this will lighten your job of specifying the fields to include. You can specify the fields parameter as a string with comma separated field names, like: 'fields' => 'id,name,created,modified,user_id,data1,data2,data3,data4,data5,data6' Hope it helps, just a little :) John On Apr 22, 7:32 am, "Dave Maharaj :: WidePixels.com" <[email protected]> wrote: > I know you can select what fields to return data from a find query....but is > there a way to exclude fields rather than typing out all the ones you want? > > thanks > > Dave --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
