On 9/4/07, Braindead <[EMAIL PROTECTED]> wrote:
>
> Chris, thanks for the quick reply, but the problem is not to select
> only a few fields from 'Post'. I want to select only a few fields from
> 'Comment Author' like nickname and id. I don't want fields like hash
> and sault.
>

Then specifiy 'Comment.Author.nickname' in your array of fields in
find().  Experiment and see what you get back.  My example was only an
example, not the exact solution to your problem.  My appologies if you
were expecting that.  The key here is to use that second parameter of
find().

-- 
Chris Hartjes
Senior Developer
Cake Development Corporation

My motto for 2007:  "Just build it, damnit!"

@TheBallpark - http://www.littlehart.net/attheballpark
@TheKeyboard - http://www.littlehart.net/atthekeyboard

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

Reply via email to