I'm trying to get a List of posts and the number of related comments. Using find('count') for each post is unelegant and adds unnecessary overhead, and I don't want to add a new field to the database to use counterCache. Is there any way to solve this with cakePHP under these conditions? Using sql it would be just a "join" with a "group by"... I'm new to all these ORM problems (and solutions). Thank you.
--~--~---------~--~----~------------~-------~--~----~ 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+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~----------~----~----~----~------~----~------~--~---