Skip to content

Commit

Permalink
Switch to libsql package
Browse files Browse the repository at this point in the history
The libsql package is a replacement for better-sqlite3.
  • Loading branch information
penberg committed Sep 6, 2023
1 parent 37382a7 commit fb19cb7
Show file tree
Hide file tree
Showing 4 changed files with 3,742 additions and 958 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ The client can connect to the database using different methods depending on the

### Local SQLite file URLs

A `file:` URL connects to a local SQLite database (using [better-sqlite3]).
A `file:` URL connects to a local SQLite database (using [libsql]).

- This is only supported on Node.js. It will not work in the browser or with most hosted environments that don't provide access to a local filesystem.
- `file:/absolute/path` or `file:///absolute/path` is an absolute path on local filesystem.
Expand Down Expand Up @@ -132,7 +132,7 @@ Unless you explicitly state otherwise, any contribution intentionally submitted
[Turso]: https://docs.turso.tech
[Remote libSQL databases]: https:/libsql/sqld
[turso-cli-token]: https://docs.turso.tech/reference/turso-cli#authentication-tokens-for-client-access
[better-sqlite3]: https:/WiseLibs/better-sqlite3
[libsql]: https:/libsql/libsql
[hrana-client-ts]: https:/libsql/hrana-client-ts
[Web fetch API]: https://developer.mozilla.org/en-US/docs/Web/API/Fetch_API
[turso-js-ts]: https://docs.turso.tech/reference/client-access/javascript-typescript-sdk
Loading

0 comments on commit fb19cb7

Please sign in to comment.