Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ Library support » U++ SQL » SQLite On delete cascade .sch ?
Re: SQLite On delete cascade .sch ? [message #51991 is a reply to message #51958] Sun, 30 June 2019 22:00 Go to previous message
Xemuth is currently offline  Xemuth
Messages: 387
Registered: August 2018
Location: France
Senior Member
According to Sqlite.org https://www.sqlite.org/pragma.html#pragma_foreign_keys

Quote:
Changing the foreign_keys setting affects the execution of all statements prepared using the database connection...

Also
Quote:
As of SQLite version 3.6.19, the default setting for foreign key enforcement is OFF. However, that might change in a future release of SQLite.


Seems like having it enable do not having disadvantages.

Quote:
(Maybe as compromise, we can just add method to Sqlite3Session that enables them?)

Yeah I think it's the best compromise to do. I Will try to implement it.


Best Regard.
Xemuth
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Sqlite join from select
Next Topic: Multiple DUAL_UNIQUE generate conflicting statements
Goto Forum:
  


Current Time: Fri May 10 11:34:52 CEST 2024

Total time taken to generate the page: 0.01874 seconds