db-conn-sqljs
v0.0.5
Published
SQL.JS driver (db-conn)
Downloads
2
Readme
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();