tursodatabase / libsql-client-ts

TypeScript/JavaScript client API for libSQL
https://docs.turso.tech/sdk/ts/quickstart
MIT License
226 stars 32 forks source link

Introduce `TransactionMode` #46

Closed honzasp closed 1 year ago

honzasp commented 1 year ago

The client has been using BEGIN DEFERRED as the transaction mode, which is almost never the most useful option:

This PR introduces TransactionMode, which allows the user to select one of these options: