Re: Creating a GROUP BY query

From: Andrus Adamchik (andru..bjectstyle.org)
Date: Sat Feb 17 2007 - 17:58:42 EST

  • Next message: Dorian: "Re: Creating a GROUP BY query"

    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



    This archive was generated by hypermail 2.0.0 : Sat Feb 17 2007 - 17:59:21 EST