i have a User table with 'id' and 'name' columns, and a Email table with
'user_id' and 'email' columns.

if i have User hasMany Email, and in my UsersController, i do
$this->User->findByEmail(...), it returns all of 'id', 'name', 'user_id',
and 'email' columns. how do i make it so that it only returns the User
columns ('id' and 'name') only, but not 'user_id' and 'email'?

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