Fix warnings

This commit is contained in:
Ajay Ramachandran
2021-08-03 21:02:45 -04:00
parent 1678dcac82
commit 94b82b6865
2 changed files with 15 additions and 15 deletions

View File

@@ -19,15 +19,15 @@ export class Mysql implements IDatabase {
const queryResult = this.connection.query(query, params);
switch (type) {
case "get": {
return queryResult[0];
}
case "all": {
return queryResult;
}
case "run": {
break;
}
case "get": {
return queryResult[0];
}
case "all": {
return queryResult;
}
case "run": {
break;
}
}
}