Ask HN: Realtime Subscriptions for SQLite?
1 comments
I've never tried this exact thing, but I believe you could set up triggers and then have these invoke some application-defined function like:
https://www.sqlite.org/appfunc.html
CREATE TRIGGER update_customer_address UPDATE OF address ON customers
BEGIN
SELECT notify_table_event(tableName, id, etc...);
END;
https://www.sqlite.org/lang_createtrigger.htmlhttps://www.sqlite.org/appfunc.html
What about for sqlite? Does anything similar exist?
(I want to get notified when an event is done)