[sqlalchemy] Re: How to turn off UPDATE on child objects when deleting parent object

2008-09-30 Thread Randy Syring
Sorry, one follow-up. I can actually get this to work by setting cascade='all, delete-orphan'. But since the FK will do a cascading delete, it is slower for SQLAlchemy to have to issue the statements. Can I just make SQLAlchemy not issue anything when deleting the parent? On Sep 30, 2:14 am,

[sqlalchemy] Re: How to turn off UPDATE on child objects when deleting parent object

2008-09-30 Thread King Simon-NFHD78
-Original Message- From: sqlalchemy@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Randy Syring Sent: 30 September 2008 07:17 To: sqlalchemy Subject: [sqlalchemy] Re: How to turn off UPDATE on child objects when deleting parent object On Sep 30, 2:14 am, Randy Syring

[sqlalchemy] Re: How to turn off UPDATE on child objects when deleting parent object

2008-09-30 Thread Randy Syring
: [sqlalchemy] Re: How to turn off UPDATE on child objects when deleting parent object On Sep 30, 2:14 am, Randy Syring [EMAIL PROTECTED] wrote: More details are here:http://groups.google.com/group/sqlelixir/browse_thread/th read/aac5d22... But basically, I have a relationship between