heya - Remove the children from the collection, set the new children onto it, and then flush; they'll be deleted. you can just say parent.children = [newobj1, newobj2, newobj3]. the removed children get deleted and the new children get added.
session.delete(obj) does not change the status of any collections. see the boldface text at: http://www.sqlalchemy.org/docs/04/session.html#unitofwork_using_deleting --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
