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.
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 ?

--~--~---------~--~----~------------~-------~--~----~
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