Re: [sqlalchemy] Howto imitate cascade delete.

2014-01-20 Thread Rich
Thanks, seemed to work for what I needed. On Thursday, January 16, 2014 12:44:31 PM UTC-7, Michael Bayer wrote: On Jan 16, 2014, at 1:48 PM, Rich richar...@gmail.com javascript: wrote: I've been using delete cascading on a particular relationship for some time and has worked well. My

[sqlalchemy] Howto imitate cascade delete.

2014-01-16 Thread Rich
I've been using delete cascading on a particular relationship for some time and has worked well. My requirements have now changed so that I need to cascade a delete to only certain items in the relationship based on complex criteria. I'm not sure of a good way to handle this. There is a

Re: [sqlalchemy] Howto imitate cascade delete.

2014-01-16 Thread Michael Bayer
On Jan 16, 2014, at 1:48 PM, Rich richardmu...@gmail.com wrote: I've been using delete cascading on a particular relationship for some time and has worked well. My requirements have now changed so that I need to cascade a delete to only certain items in the relationship based on complex