I'm using an EntityHook to sign up for changes in the database. When an entry is deleted, I want to create an entry in another table.
My problem is that when I'm using a Table.deleteWhere() clause, EntityHook is not invoked.
The only place where that entity hook is invoked, judging by the source code, is when the delete() method of the entity is called
(Entity.kt line 249)
I want to listen to changes on any operation on a given table. How can I do this without using database triggers?
I'm using an EntityHook to sign up for changes in the database. When an entry is deleted, I want to create an entry in another table.
My problem is that when I'm using a Table.deleteWhere() clause, EntityHook is not invoked.
The only place where that entity hook is invoked, judging by the source code, is when the delete() method of the entity is called
(Entity.kt line 249)
I want to listen to changes on any operation on a given table. How can I do this without using database triggers?