Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

https://sqlite.org/foreignkeys.html#fk_enable

Judging by the documentation, if you issue a PRAGMA foreign_keys; and no row is returned containing a 0 or 1, then you are using an unsupported version of SQLite, or the library was compiled with foreign key support disabled. I am struggling to find any documentation that states if anything will occur if enabling foreign keys in the connection string, when the version does not support foreign keys.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: