Replies: 1 comment 2 replies
|
Hey @khunder. No, unfortunately, we don't support sql.js. You could try creating a new backend with that driver. However, I doubt that would fully work. From what I could tell, it's not persisted anywhere and is only in memory right? Moreover, it needs to be distributed somehow. I'm saying this because we spin up workers and other services that need a "shared" DB across multiple threads, not an in-memory db. That's why something like PGlite doesn't work either. We recently introduced a new feature where you can run everything in a single thread, so you can share memory states. Maybe that would work with a driver like sql.js or PGLite. |
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Does Sidequest.js currently support using sql.js as a SQLite backend?
I am looking for a lightweight, database-agnostic setup that can run without requiring native SQLite bindings such as better-sqlite3 or sqlite3.
Supporting sql.js would make Sidequest.js easier to use in environments where native modules are difficult or impossible to install.
All reactions