[Dbix-class] Selecting max() of count()

Matt S Trout dbix-class at trout.me.uk
Sat Aug 2 21:14:34 BST 2008


On Fri, Aug 01, 2008 at 11:54:36AM +0200, BUNK (Jacob Bunk Nielsen) wrote:
> It has to be done with a sub select because you can't nest aggregate
> functions like max() and count().

DBIx::Class can't do subselects yet; if you want to help it happen
talk to Guillermo Roditi about working on the SQL::Abstract cleanup
branch - or write tests cases for things like this that -should- work
but can't yet.

-- 
      Matt S Trout       Need help with your Catalyst or DBIx::Class project?
   Technical Director                    http://www.shadowcat.co.uk/catalyst/
 Shadowcat Systems Ltd.  Want a managed development or deployment platform?
http://chainsawblues.vox.com/            http://www.shadowcat.co.uk/servers/



More information about the DBIx-Class mailing list