cayenne-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrus Adamchik <and...@objectstyle.org>
Subject Re: Creating a GROUP BY query
Date Sat, 17 Feb 2007 22:58:42 GMT
Hi Dorian,

As is the case with most ORM technologies, there is an "object query  
syntax" and "db query syntax". Cayenne supports GROUP BY in the later  
case via SQLTemplate. The result of course can be mapped to objects:

http://cayenne.apache.org/doc/sqltemplate-query.html
http://cayenne.apache.org/doc/scripting-sqltemplate.html

Andrus

On Feb 17, 2007, at 5:35 PM, Dorian wrote:
> Hello!
>
> There is any way I can build a query with a GROUP BY clause?
>
>
> Thanks!
>
> Dorian


Mime
View raw message