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 support for changes() and total_changes() functions #589

Merged
merged 2 commits into from
Jan 4, 2025

Conversation

Lemon-Peppermint
Copy link
Contributor

@Lemon-Peppermint Lemon-Peppermint commented Dec 31, 2024

#525

  • Adds the necessary ScalarFunc variants to support the changes() & total_changes() SQLite function.
  • Adds the necessary fields to the Connection struct to track changes.
  • Modify the InsertAwait OpCode behaviour to affect the changes counter.

@Lemon-Peppermint Lemon-Peppermint marked this pull request as ready for review January 2, 2025 22:24
@penberg penberg changed the title Add 'changes()' & 'total_changes()' support Add support for changes() and total_changes() functions Jan 4, 2025
@penberg penberg merged commit bd5f081 into tursodatabase:main Jan 4, 2025
36 checks passed
@Lemon-Peppermint Lemon-Peppermint deleted the changes_func branch January 6, 2025 18:09
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