Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for foreign key sqllite #179

Open
lautarobusto opened this issue Oct 5, 2020 · 2 comments
Open

Add support for foreign key sqllite #179

lautarobusto opened this issue Oct 5, 2020 · 2 comments

Comments

@lautarobusto
Copy link

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

@j256
Copy link
Owner

j256 commented Feb 9, 2021

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

@lautarobusto
Copy link
Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants