MCPcopy Create free account
hub / github.com/phiresky/sql.js-httpvfs / LazyHttpDatabase

Interface LazyHttpDatabase

src/sqlite.worker.ts:76–83  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

74 }
75);
76export interface LazyHttpDatabase extends Database {
77 lazyFiles: Map<string, { contents: LazyUint8Array }>;
78 filename: string;
79 query: <T = any>(query: string, ...params: any[]) => T[];
80 create_vtab: (cons: {
81 new (sqljs: SqljsEmscriptenModuleType, db: Database): sqlite3_module;
82 }) => void;
83}
84export type SqliteStats = {
85 filename: string;
86 totalBytes: number;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected