libsql-client-ts icon indicating copy to clipboard operation
libsql-client-ts copied to clipboard

TypeScript/JavaScript client API for libSQL

Results 116 libsql-client-ts issues
Sort by recently updated
recently updated
newest added

I basically do this: ``` import { createClient } from "@libsql/client"; const client = createClient({ url: "file:local.db", }); await client.batch( [ "CREATE TABLE IF NOT EXISTS users (email TEXT)" ],...

Hi there, I'm using random row ids as primary keys, my schema goes something like this: ```sql CREATE TABLE users ( id INTEGER PRIMARY KEY NOT NULL, -- ... )...

A user reports: > my query never completes when i query more than 100 rows. ![image](https://github.com/user-attachments/assets/38eb3dc8-8e1f-432f-b6d6-40f34cdf6563) > it apparently happens in the "decodeResponse" function in the hrana-client > it's related...

``` app-1 | thread '' panicked at src/statement.rs:340:62: app-1 | called `Option::unwrap()` on a `None` value app-1 | stack backtrace: app-1 | 0: 0x7f4b06c5b439 - app-1 | 1: 0x7f4b06920400 -...

I'm running LibSQL server locally and using this sdk to connect to it. The following is my code: ```ts import { createClient } from "@libsql/client" const client = createClient({ url:...

I've been looking into the new beta [`/listen` endpoint](https://github.com/tursodatabase/libsql/pull/1388) and wondering how consumers would be using this from Typescript SDK. There is currently no "native" support for SSE on the...

enhancement

The `db.execute` method currently returns a non-generic `ResultSet` type. However, in some cases, the column and row types are known beforehand. By making `ResultSet` generic, developers could provide these types,...

We have Vercel CI tests, but they have been disabled because something broke. Let's work on re-enabing them.

enhancement
help wanted