Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature Request: Integrate bindings for sqlite3 api UPDATE HOOK #599

Open
akpor-kofi opened this issue Nov 27, 2024 · 3 comments
Open

Feature Request: Integrate bindings for sqlite3 api UPDATE HOOK #599

akpor-kofi opened this issue Nov 27, 2024 · 3 comments

Comments

@akpor-kofi
Copy link

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

@akpor-kofi
Copy link
Author

or is there a way to actually use the create_function + trigger

@hoeck
Copy link
Contributor

hoeck commented Mar 8, 2025

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.

@lovasoa
Copy link
Member

lovasoa commented Mar 8, 2025

Great ! If you make a PR, be sure to write extensive doc comments too !

@hoeck hoeck mentioned this issue Mar 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants