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

sqlite: enable SQLITE_ENABLE_UPDATE_DELETE_LIMIT compilation option #16884

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

chrisbenincasa
Copy link

@chrisbenincasa chrisbenincasa commented Jan 29, 2025

What does this PR do?

Enables the SQLITE_ENABLE_UPDATE_DELETE_LIMIT compilation flag for sqlite, which allows for specifying a LIMIT on UPDATE and DELETE queries

How did you verify your code works?

Simply enables a compilation flag in sqlite that has been around since 3.6.20, which enables a pretty standard and expected SQL feature (unsure why SQLite hasn't made this the default...

Will happily test with my project https://github.com/chrisbenincasa/tunarr as I've just integrated Bun (and am very happy with it so far!) but this is a blocker for me to cut a full release with as it breaks many queries in the app.

I was previous using better-sqlite3 with success; it enables this option and many others (may have to add those here too!)

chrisbenincasa added a commit to chrisbenincasa/tunarr that referenced this pull request Jan 30, 2025
This is necessary until Bun enables the feature in sqlite:
oven-sh/bun#16909 and oven-sh/bun#16884
chrisbenincasa added a commit to chrisbenincasa/tunarr that referenced this pull request Jan 30, 2025
This is necessary until Bun enables the feature in sqlite:
oven-sh/bun#16909 and oven-sh/bun#16884
chrisbenincasa added a commit to chrisbenincasa/tunarr that referenced this pull request Jan 30, 2025
This is necessary until Bun enables the feature in sqlite:
oven-sh/bun#16909 and oven-sh/bun#16884
chrisbenincasa added a commit to chrisbenincasa/tunarr that referenced this pull request Jan 30, 2025
This is necessary until Bun enables the feature in sqlite:
oven-sh/bun#16909 and oven-sh/bun#16884
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.

1 participant