[symfony-users] Re: Best practice for listing number of entries in categories

2008-05-04 Thread [EMAIL PROTECTED]
Look in the snippets section of symfony. There are examples how to use aggregate functions to get something like "COUNT(*)" done without tons of additional database queries. Michael On 4 Mai, 11:49, "Gunnar Lium" <[EMAIL PROTECTED]> wrote: > Hi! > > I have an application with a lot of categori

[symfony-users] Re: Best practice for listing number of entries in categories

2008-05-04 Thread Nicolas Perriault
On Sun, May 4, 2008 at 11:49 AM, Gunnar Lium <[EMAIL PROTECTED]> wrote: > I have an application with a lot of categories, and I want to list the > number of entries for each category. The object oriented way to do this > would be something like: Here's an something I did for symfonians: http://s