News for hackers. Stuff that matters.
Re:Stop building databases by matharmin on Saturday December 02, 2023 @01:08AM (#38496367)
SQLite does actually provide the mechanisms required to listen for changes via update hooks. It's unfortunate that many SQLite bindings don't expose that. I'm using it in a very simple way - automatically rerun the query if data in the underlying table changes. It's perhaps not as efficient as incrementally updating the results, but with how fast queries in SQLite usually are, I find that doesn't really matter.

There are no comments on this comment yet.