Does counterQuery not work in 1.2? Instead of it doing COUNT(*), I
want it to do COUNT(DISTINCT User.id). Also, in my hasMany
association, I was trying to put fields in the 'fields' key, and it
wasn't working. I tried just one field (User.id), and it was still
returning all fields.

Also, is there any simple way to add a DISTINCT to the query? Or a
GROUP BY? That would be great.

Thanks,
Jon
--~--~---------~--~----~------------~-------~--~----~
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