sql.js
sql.js copied to clipboard
A javascript library to run SQLite on the web.
This is (finally) a follow-up to my [absurd-sql](https://github.com/jlongster/absurd-sql) project I talked about here: https://github.com/sql-js/sql.js/issues/447#issuecomment-897326740 These are the changes so far required to make it work. It's not a lot of...
With given package.json: ```json { "type": "module", "packageManager": "[email protected]", "dependencies": { "sql.js": "1.7.0" } } ``` Here's the result of `node -e 'require("sql.js")()'`: ``` (node:31583) ExperimentalWarning: The Fetch API is...
## Overview The responding ```sql-wasm.wasm``` file requested by ```worker.sql-wasm.js``` doesn't get served correctly and thus leads to a 404 error. I am not sure if that is a bug which...
not sure how feasible this feature-request is. sqlite3 docs say INTEGERS can be 1, 2, 3, 4, 6, or 8 bytes. is it possible to: 1. input - allow 64-bit...
UPDATE: Code links in this comment are stale. Check the thread for the latest info. I have an [experimental sql.js branch](https://github.com/rhashimoto/sql.js/tree/vfs) with changes that enable defining a [SQLite VFS](https://sqlite.org/vfs.html) in...
Hi, It would be nice to add a module target to the project. This would allow to dynamically import the library with `import()` function, and would probably work better with...
I can't figure out how to attach multiple databases to run queries across two sqlite files. Something like this: ATTACH 'db1.sqlite3' AS db1; ATTACH 'db2.sqlite3' AS db2; SELECT \* FROM...
for make `'use strict'` compatible
Throwing strings makes it difficult to debug for specific issues when working on projects that use sql.js. Replaced string with Errors when being thrown. (Really just using a constructor around...
Hello i would like to ask you If I'm able to use this lib with react. I downloaded sql.jq file and I'm trying to import it like `import {SQL} from...