Release note for using "passive_deletes=True"

Related-Bug: #1757966

Change-Id: I013d4837603839364f8d699f7ce97e4400879d38
(cherry picked from commit 696e82702c)
This commit is contained in:
Renat Akhmerov 2018-05-16 13:58:10 +07:00 committed by Dougal Matthews
parent 00b405b072
commit 53815745c9
1 changed files with 9 additions and 0 deletions

View File

@ -0,0 +1,9 @@
---
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