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

Ask for D1 batch() in sql-d1 to support a transaction around multiple statements #3888

Open
mw10013 opened this issue Nov 4, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@mw10013
Copy link

mw10013 commented Nov 4, 2024

What is the problem this feature would solve?

D1 seems to only support a transaction around multiple statements with batch() (https://developers.cloudflare.com/d1/build-with-d1/d1-client-api/#batch-statements).

More color in this comment by mikearnaldi: #3045 (comment)

What is the feature you are proposing to solve the problem?

Add batch() to D1Client in sql-d1.

What alternatives have you considered?

No response

@mw10013 mw10013 added the enhancement New feature or request label Nov 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant