[sqlalchemy] Re: between_op() error with property expressions: is this a bug?

2007-08-23 Thread Paul Johnston
Hi, >sounds like a bug. for now, call it from the Column object: >MappedClass.c.age.between(1,2) (that should work). > > There seems to be a bug in sql/operators.py - between only has two arguments, not three. I've hit this as well. Paul --~--~-~--~~~---~--~--

[sqlalchemy] Re: between_op() error with property expressions: is this a bug?

2007-08-23 Thread Michael Bayer
sounds like a bug. for now, call it from the Column object: MappedClass.c.age.between(1,2) (that should work). On Aug 23, 2007, at 6:03 AM, stephen emslie wrote: > > I'm using the new property-based query expressions to create a between > clause to filter on: > > MappedClass.age.between(1,2)