[sqlalchemy] x y z shouldn't result in x y SQL

2012-08-22 Thread ThiefMaster
I think this is a bug; it should either result in an error or work as expected - in python this **is** valid after all: str(X.query.filter(2 X.id 5)) 'SELECT x.id AS x_id \nFROM x \nWHERE x.id :id_1' This shouldn't generate the following SQL str(X.query.filter(2 X.id)) 'SELECT x.id AS

Re: [sqlalchemy] x y z shouldn't result in x y SQL

2012-08-22 Thread Michael Bayer
On Aug 22, 2012, at 4:37 PM, ThiefMaster wrote: I think this is a bug; it should either result in an error or work as expected - in python this **is** valid after all: str(X.query.filter(2 X.id 5)) 'SELECT x.id AS x_id \nFROM x \nWHERE x.id :id_1' This shouldn't generate the