0.0.5 • Published 4 years ago
db-conn-sqljs v0.0.5
SQL.JS driver for db-conn
Example
import {Connection} from "db-conn"
import {SqlJsConnection, initSqlJs} from "db-conn-sqljs"
var SQL = await initSqlJs();
var conn:Connection = new SqlJsConnection();
await conn.open(SQL);
conn.execute("create table test (id, name);");
await conn.close();