Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
korrat6342yI think there is some kind of open option you have to pass for constraints to be checked.
But I might misremember that -
@nowaho does that explain why I can't delete a master row with no referencing data without getting a reference error ?
Eg table 2 references table 1
Table 2 has no rows
I put a row in table 1
I then try to delete that row
Sqlite prevents me because of the fk -
@nowaho but why is it preventing me from deleting a row not being referenced by anything ?
-
@nowaho when i remove the fk the row can be deleted
Yeah sorry I'll post something better on it
Last time they reached this version of sqlite I just had to work around and doublecheck myself -
@nowaho did everyone like have a meeting and agree that noone would do anything real anymore ?
-
@nowaho because I missed the part where these garbage fags made their intentions to destroy the world clear or what kind of timetable in service of making the human race psychologically warped trash they defined.
-
@nowaho so what do you think we should be doing ?
If you can't even take some crap job and some crap life without being cycled through this disgusting crap again and again ? Hmm ?
The whole.point seems like everyone is just going to die without knowing how long it really takes and their vraY asses are making sure everyone is fucked the same way -
@nowaho while we do this same stupid crap again and the compilation of sqlite doesn't take very long I might add
So,
sqlite lets you violate foreign key constraints on insert.
so you then can't delete the row you added
which has absolutely no child data so it shouldn't be preventing you from deleting it.
wtf.
rant