mistral/releasenotes/notes/using_passive_deletes_in_sq...

10 lines
385 B
YAML

---
fixes:
- |
Used "passive_deletes=True" in the configuration of relationships in
SQLAlchemy models. This improves deletion of graphs of related objects
stored in DB because dependent objects don't get loaded prior to
deleting them.
More about using this flag can be found at:
http://docs.sqlalchemy.org/en/latest/orm/collections.html#using-passive-deletes