API reference › @evolu/sqlite-wasm › SqliteWasmFunction

Defined in: packages/sqlite-wasm/src/Wasm.ts:874

A JavaScript function to install into the function table.

The signature uses the notation of sqlite3_vfs_layout, such as i(ppij): the result, then the parameters in parentheses. i, p and s are i32, j is i64 (a bigint), d is f64, and a v result is no result. The result is i or v, because every callback SQLite calls in this build returns an int or nothing.

Properties

fn

readonly fn: (...args: never) => number | void;

Defined in: packages/sqlite-wasm/src/Wasm.ts:876


signature

readonly signature: string;

Defined in: packages/sqlite-wasm/src/Wasm.ts:875