libsql-js icon indicating copy to clipboard operation
libsql-js copied to clipboard

A better-sqlite3 compatible API for libSQL that supports Bun, Deno, and Node

Results 56 libsql-js issues
Sort by recently updated
recently updated
newest added

The libSQL crate now supports `BEGIN READ ONLY` (https://github.com/tursodatabase/libsql/commit/91f4780c0b5eeb738c10abd82d1d8a97e99b2923), let's wire it up in the transaction API.

enhancement
good first issue

There's preliminary support for promise API, but we still need to do asyncify the following: [ ] `Database.open()` [x] `Database.sync()` [ ] `Statement.run()` [ ] Make `Statement.iterate()` return an async...

enhancement

``` import LibsqlP from 'libsql-experimental/promise' ``` ``` src/both.ts:3:21 - error TS7016: Could not find a declaration file for module 'libsql-experimental/promise'. 'path/to/node_modules/libsql-experimental/promise.js' implicitly has an 'any' type. If the 'libsql-experimental' package...

With better-sqlite3, the readonly option behaves as such: - Constructor fails when combined with an in-memory database > TypeError: In-memory/temporary databases cannot be readonly - Queries that mutate fail >...

help wanted
good first issue
api compat

Running `new Database` with a configuration that wants to use a remote sqld will cause the program to block on disk or network I/O for some amount of time, potentially...

Hi! Currently we're working on adding libsql to Beekeeper Studio! And I ran into an issue where I can't see the columns and the `.reader` flag always return false from...

We currently only support 32-bit floating point arrays.

enhancement
help wanted
good first issue

The following additional test case that calls `Statement.run()` with an object (not array) parameter: ```patch diff --git a/integration-tests/tests/sync.test.js b/integration-tests/tests/sync.test.js index 06d96b8..327010a 100644 --- a/integration-tests/tests/sync.test.js +++ b/integration-tests/tests/sync.test.js @@ -48,6 +48,9 @@...

bug
help wanted
good first issue