Hacker News new | ask | show | jobs
by b3morales 1341 days ago
SQLite calls this an "update hook": https://www.sqlite.org/c3ref/update_hook.html
2 comments

Exactly! Or in some cases I create a view - for example a highscore list - that is queried by a simple server-side script and sends the data as JSON to the client.
SQLDelight had neat built in support for this

https://cashapp.github.io/sqldelight/