tursodatabase / libsql-js

A better-sqlite3 compatible API for libSQL that supports Bun, Deno, and Node
MIT License
194 stars 22 forks source link

Support readonly option #24

Open CodingDoug opened 1 year ago

CodingDoug commented 1 year ago

With better-sqlite3, the readonly option behaves as such:

TypeError: In-memory/temporary databases cannot be readonly

SqliteError: attempt to write a readonly database

This library does none of the above yet.

penberg commented 1 year ago

Depends on https://github.com/libsql/libsql/issues/344