Friday, February 27, 2009

Re: Oracle group by bug

On Feb 27, 4:09 pm, Germano <germano.c...@gmail.com> 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 cake-php@googlegroups.com
To unsubscribe from this group, send email to cake-php+unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

No comments: