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: Add global configuration option in new Database(options) for transactions (either DEFAULT, IMMEDIATE or EXCLUSIVE) #1217

Open
titanism opened this issue Jul 2, 2024 · 1 comment · May be fixed by #1248

Comments

@titanism
Copy link

titanism commented Jul 2, 2024

It would be great if we had a global configuration for BEGIN IMMEDIATE and BEGIN EXCLUSIVE at the new Database() level (as opposed to invoking db.transaction(() => {}).immediate();).

@mceachen
Copy link
Member

mceachen commented Jul 3, 2024

I think this would be nice (but I don't have the final say here).

This would be a JS-only change, so it might be a reasonable “first PR” task for someone to swing at.

Abogical added a commit to Abogical/better-sqlite3 that referenced this issue Aug 28, 2024
Abogical added a commit to Abogical/better-sqlite3 that referenced this issue Aug 28, 2024
Abogical added a commit to Abogical/better-sqlite3 that referenced this issue Aug 28, 2024
@Abogical Abogical linked a pull request Aug 28, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging a pull request may close this issue.

2 participants