From: Gavin <bra...@ri...> - 2004-07-05 12:34:00
|
Thanks - Gavin On Sat, 3 Jul 2004 09:54 pm, Ivo van der Wijk wrote: > On Sat, 3 Jul 2004 18:24:37 +1000, Gavin <bra...@ri...> wrote: > > How do you use AND and other such logical statements in query ie > > .select() ? > > Check the SQLBuilder documentation. Basically, you'll get constructs such > as: > > Person.select(AND(Person.q.name=='foo', Person.q.companyID==Company.id)) > > Ivo |