db-torque-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Scott Eade <se...@backstagetech.com.au>
Subject Re: criteria-problem with or/and
Date Sat, 11 Jan 2003 10:17:10 GMT
See the example at the very bottom of
http://jakarta.apache.org/turbine/torque/peers-howto.html

HTH,

Scott
-- 
Scott Eade
Backstage Technologies Pty. Ltd.
http://www.backstagetech.com.au
.Mac Chat/AIM: seade at mac dot com


On 11/01/2003 8:54 PM, "Marc Lustig" <mail@marclustig.com> wrote:

> Hi,
> can somebody give me a hint how to use criteria to build a WHERE-clause that
> looks like this:
> 
> WHERE (fielda=0 or fielda=11) and fieldb=xxx
> 
> I looked into the various or() methods, but still not sure how to use it.
> 
> Thanks.
> Marc


Mime
View raw message