On Feb 27, 4:09 pm, Germano <[email protected]> wrote:
> Hi, i try use a group by sql with a find('all') method in a oracle
> database configuration but didnt worked. I use the same $condition
> array with mysql with success.
You need to post relevant information including any and all errors you
are getting. You should consider using the 'group' option instead of
the 'conditions' to put your grouping clause. For example: $this-
>ModelName->find('all', array('group' => 'Model.field', ..... ));
where '....' is your other find options.
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---