ormlite-core icon indicating copy to clipboard operation
ormlite-core copied to clipboard

Add support for foreign key sqllite

Open lautarobusto opened this issue 5 years ago • 2 comments

Can't make use of constraint on cascade delete because sqlite won't enforce fk by default. This must be send as a parameter in the connection but ormlite won't recognize the fk=true parameter on the connection string

lautarobusto avatar Oct 05 '20 04:10 lautarobusto

How does ormlite not recognizing the parameter? Is it filtering it somehow?

j256 avatar Feb 09 '21 16:02 j256

im used to send the parameter on the conection string as foreign keys=true; , but it fails as it takes the parameter as part of the path. Is there an specific way of set the fk true?. As ive read sqlite need to set fk true on every new conection.

lautarobusto avatar Feb 09 '21 16:02 lautarobusto