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

Optimize batch statements execution #31

Closed piotrkira closed 1 year ago

piotrkira commented 1 year ago

Wrap statements with BEGIN + COMMIT only if there are more than one statement.

Kinda relates to: sqld #100 Optimize single statement execution in JavaScript client

penberg commented 1 year ago

Looks good to me. Can you @honzasp review this?

honzasp commented 1 year ago

bors merge

bors[bot] commented 1 year ago

Already running a review

bors[bot] commented 1 year ago

Build succeeded: