Wednesday, March 28, 2012

find('all') with group by on postgres

Hi Everyone!

I am using cakePHP 1.3 and I do love working with the framework, but sometimes, it sucks!

I am also using postgres 8.3 and I noticed some issues regarding the use of the group clause on the find() and paginate() the main problem is: when you use those methods, it ALWAYS included the "id" field. So I am asking, anyone here has a work around for that excepts writing the query it self? because I DO want to use the paginate() so I can manage in a better way filters and the view itself.

--
Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions.
 
 
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

No comments: