sqlite-wasm icon indicating copy to clipboard operation
sqlite-wasm copied to clipboard

SQLite Wasm conveniently wrapped as an ES Module.

Results 7 sqlite-wasm issues
Sort by recently updated
recently updated
newest added

In order to follow the recommended "wrapped worker" approach from the readme I had to add: ```typescript declare module '@sqlite.org/sqlite-wasm' { export function sqlite3Worker1Promiser(...args: any): any } ``` immediately below...

```ts sqlite3.vfs.installVfs({ io: { methods: { // \/ Should be bigint as bigint is actually passed xRead(fid, dest, n, offset) { ... } } } }) ``` Not sure about...

Continuing discussion from https://github.com/sqlite/sqlite-wasm/pull/48 Proposed solutions: - [Node.js VFS implementation](https://github.com/sqlite/sqlite-wasm/pull/48#issuecomment-2683432316) like [node-sqlite3-wasm](https://github.com/tndrle/node-sqlite3-wasm) - [OPFS Polyfill](https://github.com/sqlite/sqlite-wasm/pull/48#issuecomment-2678100708)

so import under nodejs fails, even if not used.

Added forceReinitIfPreviouslyFailed to installOpfsSAHPoolVfs options, based on the discussion in https://github.com/sqlite/sqlite-wasm/issues/79