unity-sqlite-net icon indicating copy to clipboard operation
unity-sqlite-net copied to clipboard

Foreign key support

Open ClassyCircuit opened this issue 10 months ago • 1 comments

Are foreign keys supported using attributes or do I have to write custom Create statements to configure them? Do you have some examples on how to enforce and configure them?

ClassyCircuit avatar Feb 14 '25 14:02 ClassyCircuit

Hey @ClassyCircuit, thanks for the question. It seems SQLite-net does not have any Foreign Key support using attributes (https://github.com/praeclarum/sqlite-net/issues/100) =/ So for now, using SQL with a "CREATE TABLE ..." statement is the only way to achieve that.

gilzoide avatar Feb 14 '25 21:02 gilzoide