sqlite added to db tests

This commit is contained in:
Jan Prochazka 2021-05-27 09:45:15 +02:00
parent 41e55f329c
commit 28c554a75b

View File

@ -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);