Hi all,

can someone please tell me how i can group in my SQL query when i am
using an array as condition for the findAll.

Have a look

$conditions['User.name'] = 'test'

$this->User->findAll($condtitions.' GROUP BY User.name')

does not work since it will concatenate the array and the group by
into something like

1rray Group by ....

So how can i group my results in SQL?

Hope somebody can help me.

Cheers

Phil


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