> how about, go into sessionextension.after_flush(), make a new session
> local to the operation, issue a Query with the Select for all orphan
> keywords, delete them all and flush that sub-session, then expunge()
> those keywords from the parent session sent to after_flush, like this:
> [...]

Brilliant !!

I even can extend local session with the session extension itself in
case of an orphan deletion deletes another orphan...
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to