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
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