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

Add sqlite commit and rollback hooks #3500

Merged
merged 2 commits into from
Sep 12, 2024

Conversation

gridbox
Copy link
Contributor

@gridbox gridbox commented Sep 10, 2024

Does your PR solve an issue?

This PR adds the sqlite commit and rollback hooks which is useful in conjunction with the sqlite update hook when using transactions. The sqlite update hook fires before a transaction is committed or rolled back. Using the commit and rollback hooks allows clients to queue update notifications and process them appropriately when the transaction is complete.

Delete this text and add "fixes #(issue number)"

@abonander
Copy link
Collaborator

This looks great! I really appreciate that you took the time to add documentation, thanks.

@abonander abonander merged commit daeb87b into launchbadge:main Sep 12, 2024
79 checks passed
jrasanen pushed a commit to jrasanen/sqlx that referenced this pull request Oct 14, 2024
* fix: Derive clone for SqliteOperation

* feat: Add sqlite commit and rollback hooks

---------

Co-authored-by: John Smith <[email protected]>
jrasanen pushed a commit to jrasanen/sqlx that referenced this pull request Oct 14, 2024
* fix: Derive clone for SqliteOperation

* feat: Add sqlite commit and rollback hooks

---------

Co-authored-by: John Smith <[email protected]>
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

Successfully merging this pull request may close these issues.

2 participants