Welcome Guest, Not a member yet? Register   Sign In
use CASCADING DELETE with SQLITE
#1

Hi,

im using CodeIgniter with a SQLite-Database.

I have many tables which have many relations to each other. They are defined with some FOREIGN KEYS and CASCADING Delete and so on.

However, I created the database with "SQLiteStudio". There when im deleting a record, the related record is deleted, too (as it suposed to be).

But when Im using CodeIgniter to delete a record, the "cascade delete"-function does not work !!!

Whats the matter?! Is there a config-option for this in code-igniter ???

Didnt find anything about this problem somewhere else (and that suprised me as well).


Hope somebody can help me.
Reply


Messages In This Thread
use CASCADING DELETE with SQLITE - by gender - 07-31-2016, 04:40 AM
RE: use CASCADING DELETE with SQLITE - by gender - 08-04-2016, 07:45 AM



Theme © iAndrew 2016 - Forum software by © MyBB