db-torque-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Thomas Fox <Thomas....@seitenbau.net>
Subject Nested queries (was: Re: Change semantics of Criteria.add() and Criteria.or())
Date Mon, 12 Dec 2011 12:02:45 GMT
Graham Leggett <minfrin@sharp.fm> wrote

> ...
>
> Is there any possibility of supporting nested queries? Something
> like Criteria.add(someNestedCriteria).

Do you mean subselects ? This already works in Torque 3.3.
E.g.
Criteria.add(AUTHORPeer.ID, someNestedCriteria, Criteria.IN);

   Thomas


---------------------------------------------------------------------
To unsubscribe, e-mail: torque-dev-unsubscribe@db.apache.org
For additional commands, e-mail: torque-dev-help@db.apache.org


Mime
View raw message