How can I write a SQL count with group by clause using Propel ORM in Symfony?

Posted by Failpunk on Stack Overflow See other posts from Stack Overflow or by Failpunk
Published on 2009-06-01T03:39:49Z Indexed on 2010/05/14 5:04 UTC
Read the original article Hit count: 300

Filed under:
|
|
|

How can I write the following SQL query using the Propel ORM?

SELECT species, COUNT(*) FROM Bird GROUP BY species;

© Stack Overflow or respective owner

Related posts about php

Related posts about propel