correctly close connections #920

This commit is contained in:
SPRINX0\prochazka
2024-10-14 14:28:26 +02:00
parent f80ae284fa
commit f0048bc6cf
4 changed files with 11 additions and 3 deletions

View File

@@ -70,7 +70,8 @@ const driver = {
};
},
async close(dbhan) {
return dbhan.client.close();
// sqlite close is sync, returns this
dbhan.client.close();
},
// @ts-ignore
async query(dbhan, sql) {