On Jan 4, 2008, at 9:07 AM, Laurent Houdard wrote:
> > I have nodes with a self-referential parent-child one-to-many > relation, and a many-to-many relation between nodes and keywords. > > I would like to manage orphan keywords. It doesn't work with > cascade=delete-orphan which is not adapted to many-to-many relations. delete-orphan works with many-to-many relations. > I could do it manually, but I can't figure how because nodes can be > deleted automatically when deleting a parent node (cascade=delete in > parent-child relation). I looked at MapperExtension and > SessionExtension without success... > > Can anybody help me ? show us your mappings and why the "delete-orphan" appears to not be working. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "sqlalchemy" group. To post to this group, send email to [email protected] 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 -~----------~----~----~----~------~----~------~--~---
