Open TonyGiorgio opened 1 year ago
Fyi, as far as I know, D1Database.batch gets executed as a transaction. It doesn't allow you to do stuff in-between though of course, but odds are likely this serves your needs?
The stored procedure-style transactions described in that blog post aren't currently implemented - instead, any calls to the D1 batch APIs are automatically run in a transaction (i.e. BEGIN, ROLLBACK, or COMMIT won't work).
Is there an existing issue for this?
Description
Could some rust bindings for this transaction feature be added?