Android Sqlite trigger operation go through

前端 未结 1 1995
时光说笑
时光说笑 2021-01-25 08:15

\"1st

This is my first table it has 3 columns and all are entered by the user. No complication and it works

相关标签:
1条回答
  • You have added an INSERT trigger. This raises an error if you try and insert a row that doesn't match the constraint specified in the trigger; it does nothing about deleting rows from one table when rows from another are deleted.

    You need an AFTER DELETE trigger on the first table which deletes the corresponding rows.

    0 讨论(0)
提交回复
热议问题