Hacker News new | ask | show | jobs
by clownstrikelol 39 days ago
> That to me sounds like a good way to amplify a bug whereby a foreign key has not been defined¹ where it should be.

Good, as it should be.

> I hope there are copious warnings about it in the docs and when creating a table that way.

It is, SQLite’s docs are great and explain how it works in great detail.

https://sqlite.org/autoinc.html

https://sqlite.org/lang_createtable.html#rowid

1 comments

> Good, as it should be.#

Ah, a connoisseur of the semi-automatic foot-gun, I see. Or maybe the foot-RPG?

> It is, SQLite’s docs are great and explain how it works in great detail.

But not the “and when creating a table that way.” part?