Add support for both wasm/ffi version of sqlite3

This commit is contained in:
2024-01-21 20:35:36 +08:00
parent ae43c53299
commit 4d886cb85a
12 changed files with 117 additions and 14 deletions

7
utils/db_wasm.ts Normal file
View File

@@ -0,0 +1,7 @@
import { DB, SqliteOptions } from "sqlite/mod.ts";
export class DbWasm extends DB {
constructor(dbPath: string, options?: SqliteOptions) {
super(dbPath, options);
}
}