mirror of
https://github.com/dbgate/dbgate
synced 2024-11-07 20:26:23 +00:00
sqlite added to db tests
This commit is contained in:
parent
41e55f329c
commit
28c554a75b
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user