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" <[EMAIL PROTECTED]> 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 -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
