The is_deleted column is in the User table. If possible I'd rather avoid
having to replicate it in the favorite tables (hard-deleting favorites is
fine, I only need soft deletion for users).
--
You received this message because you are subscribed to the Google Groups
sqlalchemy group.
To
Hi,
I have the following models for a favorite system:
https://gist.github.com/ThiefMaster/e4f622d54c74ee322282
Now I'd like to restrict the relationship that's created by the backref in
L24, so it doesn't include any favorited users which have the is_deleted
column set to true.
I tried
Nicely formatted version:
http://stackoverflow.com/questions/24930155/strange-error-after-sqlalchemy-update-list-object-has-no-attribute-all-colu
After updating to the most recent SQLAlchemy one of my slightly more
complex query started to fail with an error inside SQLalchemy.
Here's a
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