gizli wrote: > > t1.delete(obj) > t2.delete(obj) > t2.commit() > t1.commit()
I also forgot to mention that you can always use query.delete() or table.delete() to get a standard "relational" delete, though it does not offer in-python cascading. This delete translates directly to DELETE with the given criterion and doesn't care if the rows matching its condition exist or not. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
