This is an initial pass at exposing the Sqlite update hook. I used set_progress_handler as a guide. This allows the consuming code to register a callback on the connection and receive the operation, database name, table name, and rowid of the affected record.
I'm in the process of adding listener functionality in my own code which will use channels to publish data changes but thought that may be out of scope for sqlx itself.
Fixes #3114
This is an initial pass at exposing the Sqlite update hook. I used set_progress_handler as a guide. This allows the consuming code to register a callback on the connection and receive the operation, database name, table name, and rowid of the affected record.
I'm in the process of adding listener functionality in my own code which will use channels to publish data changes but thought that may be out of scope for sqlx itself.