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

Knex compatibility

Open e-lobo opened this issue 10 months ago • 1 comments

I'm getting the following errors when using with knex.

Im using the database export from the pormise.js file

  1. statement.run is undefined. i noticed this when running knex.raw()
  2. types are not exported of promise.js so in a ts file import Database from 'libsql/promise'

e-lobo avatar Mar 28 '24 15:03 e-lobo

Promise types were added in https://github.com/tursodatabase/libsql-js/commit/f7d550ff8844a7a0d24abe2dde71c23163609116

penberg avatar Jun 12 '24 12:06 penberg