WasmSqliteOptions
Defined in: libs/runtime/src/wasm.ts:63
How initWasmSqlite starts SQLite.
Member summary
Section titled “Member summary”Properties
| Name | Description |
|---|---|
| moduleOptions? | Emscripten module options, for example locateFile when the .wasm is served from a URL. |
| sahPool? | Persist to the Origin Private File System through the SAH-pool VFS. |
Properties
Section titled “Properties”moduleOptions?
Section titled “moduleOptions?”
readonlyoptionalmoduleOptions?:Record<string,unknown>
Defined in: libs/runtime/src/wasm.ts:65
Emscripten module options, for example locateFile when the .wasm is served from a URL.
sahPool?
Section titled “sahPool?”
readonlyoptionalsahPool?:object
Defined in: libs/runtime/src/wasm.ts:71
Persist to the Origin Private File System through the SAH-pool VFS. Worker-only. It needs no
SharedArrayBuffer, so no COOP/COEP headers. When set, every path opens in OPFS and
persists; when absent, a path opens in SQLite’s in-memory memdb (see openWasmSqlite).
clearOnInit?
Section titled “clearOnInit?”
readonlyoptionalclearOnInit?:boolean
directory?
Section titled “directory?”
readonlyoptionaldirectory?:string
readonlyoptionalname?:string
TypeDBLite is an independent open-source project, built on TypeDB with thanks. It is not affiliated with, sponsored by, or endorsed by TypeDB Ltd. Released under the MPL-2.0 license.