Re: [sqlalchemy] Re: ORM-level “delete” cascade vs. FOREIGN KEY level “ON DELETE” cascade explanation

2019-10-10 Thread Mike Bayer
On Thu, Oct 10, 2019, at 3:53 AM, 'Marc Vegetti' via sqlalchemy wrote: > Hello, first of all, thnak you for your fast answer. > > I was refering to : >> A database level `ON DELETE` cascade is configured effectively on the >> *many-to-one* side of the relationship; that is, we configure it

[sqlalchemy] Re: ORM-level “delete” cascade vs. FOREIGN KEY level “ON DELETE” cascade explanation

2019-10-10 Thread 'Marc Vegetti' via sqlalchemy
Hello, first of all, thnak you for your fast answer. I was refering to : > > A database level ON DELETE cascade is configured effectively on the > *many-to-one* side of the relationship; that is, we configure it relative > to the FOREIGN KEY constraint that is the “many” side of a