selda icon indicating copy to clipboard operation
selda copied to clipboard

Foreign Keys with Cascade Delete

Open DaQuirm opened this issue 3 years ago • 2 comments

As far as I can see on delete cascade support for foreign keys is missing. Is there any technical reason for this? I'd like to try implementing it if that's not something dangerous 🙂

DaQuirm avatar Apr 24 '22 17:04 DaQuirm

There's no technical reason for not having on delete cascade. I'd be happy to merge support for it.

valderman avatar Jul 18 '22 22:07 valderman

One would have to touch the Database.Selda.Table module among others, am I correct? What other modules are involved?

In the meantime, ~~can I issue a raw SQL statement like this in Selda?~~ I can use Database.Selda.Unsafe.rawStm.

stefichjo avatar Oct 22 '23 12:10 stefichjo