r/programming • • Jul 15 '26

SQLite should have (Rust-style) editions

https://mort.coffee/home/sqlite-editions/
155 Upvotes

75 comments sorted by

View all comments

Show parent comment

21

u/lightnegative Jul 16 '26

This tripped me up on MySQL too, back when MyISAM was the default engine.

What is the point in a foreign key that's not enforced. Like why would I even define one if I didn't want it to be enforced 

5

u/cosmic-parsley Jul 17 '26

It’s for when you don’t have a plan but you do have a concept of a plan