SQLAlchemy Cascade Delete: Clarity through Examples
By Eric
—
—
10 minute read
Since there is overlapping "cascade delete" functionality supported by SQLAlchemy -- with the ORM handling some deletes and the database itself handling others -- it can be hard to know the right way to set it up. Here are some examples to help clarify how it all works.
Starting Example
Here we …