[sqlalchemy] Re: Secondary tables and deleting

2011-06-07 Thread Geoff
On Jun 7, 12:42 am, Michael Bayer wrote: > > Below is a short test, can you figure out what you might be doing differently > ? [snip] Michael, thanks very much. The database I'm looking at is my test database for the application I'm developing and it gets used and abused quite often and it's en

Re: [sqlalchemy] Re: Secondary tables and deleting

2011-06-06 Thread Michael Bayer
On Jun 6, 2011, at 7:13 PM, Geoff wrote: > On Jun 6, 11:32 pm, Michael Bayer wrote: >> >> The table referenced by "secondary=" in a relationship() is managed >> entirely, regardless of cascade setting, but >> only from the perspective of the parent. Meaning if A references a >> collection of

[sqlalchemy] Re: Secondary tables and deleting

2011-06-06 Thread Geoff
On Jun 6, 11:32 pm, Michael Bayer wrote: > > The table referenced by "secondary=" in a relationship() is managed entirely, > regardless of cascade setting, but > only from the perspective of the parent. Meaning if A references a > collection of B, the row in a_to_b will be > deleted if you 1. d