Re: [sqlalchemy] Do passive deletes apply to many to many relationships?

2014-05-15 Thread Michael Bayer
On May 15, 2014, at 12:28 AM, Randy Syring ra...@thesyrings.us wrote: I am trying to get SQLAlchemy to let my database's foreign keys on delete cascade do the cleanup on the association table between two objects. I have setup the cascade and passive_delete options on the relationship as

[sqlalchemy] Do passive deletes apply to many to many relationships?

2014-05-14 Thread Randy Syring
I am trying to get SQLAlchemy to let my database's foreign keys on delete cascade do the cleanup on the association table between two objects. I have setup the cascade and passive_delete options on the relationship as seems appropriate from the docs. However, when a related object is loaded