logoalt Hacker News

ncrucesyesterday at 8:50 PM1 replyview on HN

That only catches changes made by the database connection being "hooked."

This has a thread running in the background trying to catch changes made by other connections, potentially (I'm not sure here, but I suspect as much) in different processes that are modifying the same database.


Replies

billywhizzyesterday at 9:09 PM

good point. but ime and as seems to be widely understood writing from multiple connections is a bit of a minefield in SQLite. and afaik it still would be possible to have a hook on all connections you expect to be writing?

show 2 replies