tursodatabase / tursodatabase/libsql-js
Knex compatibility
Open
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 335
- Forks
- 48
- Avg merge
- 3d 2h
- Merged PRs (30d)
- 3
Description
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.jsso in a ts fileimport Database from 'libsql/promise'
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reading the database export in promise.js and reproducing the two reported cases with knex.raw() and a TypeScript import from libsql/promise. Trace why statement.run is unavailable and why the promise.js types are not exported; done means both cases work with the expected API and types.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, sqlite, typescript
- Domain
- backend, database
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100