initWasmSqlite
initWasmSqlite(
options?):Promise<Sqlite3Static>
Defined in: libs/runtime/src/wasm.ts:96
Initializes the WASM SQLite module, once, and optionally installs OPFS persistence. Call it, and await it, before constructing an interpreter with openWasmSqlite. Calling it again returns the module already loaded.
Parameters
Section titled “Parameters”options?
Section titled “options?”WasmSqliteOptions = {}
Where to find the .wasm, and whether to persist to the Origin Private File System.
Returns
Section titled “Returns”Promise<Sqlite3Static>
The initialized @sqlite.org/sqlite-wasm module.
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.