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: Support for sqlite3_update_hook #351

Closed
cuberoot opened this issue Feb 20, 2020 · 2 comments
Closed

Feature Request: Support for sqlite3_update_hook #351

cuberoot opened this issue Feb 20, 2020 · 2 comments

Comments

@cuberoot
Copy link

I am currently working on a project where it would be very helpful to receive event callbacks on updates. This could be implemented using this: https://www.sqlite.org/c3ref/update_hook.html

There's a half finished PR on node-sqlite3 here, but I would rather use better-sqlite3.

@Prinzhorn
Copy link
Contributor

Hey, this has been requested before in #62

Turns out user-defined functions + triggers are much more powerful and easy to use in better-sqlite3.

@JoshuaWise
Copy link
Member

Yup, this is a duplicate of #62.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

3 participants