On Feb 12, 3:00 pm, iain duncan <[EMAIL PROTECTED]> wrote:
> I would like some objects that are related through many to many tables
> to delete the many to many entry on deletion, but NOT the endpoint. It
> seems that cascade="all" deletes both, and no arg to cascade leaves left
> over invalid entries in the manytomany table. Is there a suggested way
> to deal with this?

if the relationships between two objects is being broken, then the
corresponding rows in the many-to-many table should be removed as
well, provided SA is familiar with the relationship.  no cascade rules
should be needed. feel free to post an example thats not working.


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"sqlalchemy" group.
To post to this group, send email to sqlalchemy@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/sqlalchemy?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to