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) > > This produces (on alchemy 0.4 beta4.): > > *** TypeError: between_op() takes exactly 2 arguments (3 given) > > Is this a bug, or should I not be using a property-based expression > here? MappedClass.c.age.between(1,2) behaves normally. > > Stephen Emslie > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "sqlalchemy" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/sqlalchemy?hl=en -~----------~----~----~----~------~----~------~--~---
