libsql-js
libsql-js copied to clipboard
Knex compatibility
I'm getting the following errors when using with knex.
Im using the database export from the pormise.js
file
- statement.run is undefined. i noticed this when running
knex.raw()
- types are not exported of
promise.js
so in a ts fileimport Database from 'libsql/promise'
Promise types were added in https://github.com/tursodatabase/libsql-js/commit/f7d550ff8844a7a0d24abe2dde71c23163609116