cayenne-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Aristedes Maniatis <>
Subject Re: Type safe queries & more
Date Sun, 18 Sep 2011 11:12:23 GMT
On 16/09/11 11:36 PM, Hugi Thordarson wrote:
> We've committed the code as a Maven project on Bitbucket:

I'm curious about your choice to create ChainableOrdering and not ChainableExpression. The
later would let us equally write:

   debtors = User.where("owing > 0").order("firstname")

and then later on



   debtors.where("firstname LIKE joe%")

Adding an ordering to an expression need not then preclude adding further WHERE clauses.


Aristedes Maniatis
GPG fingerprint CBFB 84B4 738D 4E87 5E5C  5EFA EF6A 7D2E 3E49 102A

View raw message