3 ms·
I wrote a specific library to do this (automatically generates a mixin for SQLAlchemy and installs a hook which rewrites all queries, removing soft-deleted item
by fb03 4y ago
I wrote a specific library to do this (automatically generates a mixin for SQLAlchemy and installs a hook which rewrites all queries, removing soft-deleted items from queries and also relationships) so that the soft-delete problem becomes a non issue and you still have the data there if you want to revert/activate something
https://github.com/flipbit03/sqlalchemy-easy-softdelete https://github.com/flipbit03/sqlalchemy-easy-softdelete