sql.js
sql.js copied to clipboard
Feature Request: Integrate bindings for sqlite3 api UPDATE HOOK
For reactive queries i would like to be able to run a callback immediately a table change in my sqlite db using update hook. i tried using create_function + triggers but that doesn't seem to work either
or is there a way to actually use the create_function + trigger
Hey I'd like to have that too and also the sqlite3_column_table_name function. My goal is to write a Sqlite based store for React.
Looking at the code in api.js this should be fairly straightforward. I'll whip up a short demo if I find the time.
Great ! If you make a PR, be sure to write extensive doc comments too !