tursodatabase / libsql-client-ts

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

fix: only cache statement under 5kb #198

Closed invisal closed 1 month ago

invisal commented 2 months ago

Batch is using stored_sql. In the Turso server, the stored_sql only support up to 5kb only.

https://github.com/tursodatabase/libsql/blob/e9d637e051685f92b0da43849507b5ef4232fbeb/libsql-server/src/hrana/http/request.rs#L10

Related to this issue: https://github.com/tursodatabase/libsql-client-ts/issues/177#issuecomment-2040989370