mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-24 23:26:00 +00:00
sqlite added to db tests
This commit is contained in:
@@ -56,6 +56,9 @@ const driver = {
|
|||||||
const pool = new Database(databaseFile);
|
const pool = new Database(databaseFile);
|
||||||
return pool;
|
return pool;
|
||||||
},
|
},
|
||||||
|
async close(pool) {
|
||||||
|
return pool.close();
|
||||||
|
},
|
||||||
// @ts-ignore
|
// @ts-ignore
|
||||||
async query(pool, sql) {
|
async query(pool, sql) {
|
||||||
const stmt = pool.prepare(sql);
|
const stmt = pool.prepare(sql);
|
||||||
|
|||||||
Reference in New Issue
Block a user