Skip to content

Commit

Permalink
fix(SQLite): tables with sqlite in name not visible, closes #239
Browse files Browse the repository at this point in the history
  • Loading branch information
Fabio286 committed Apr 22, 2022
1 parent 3450497 commit 690cdcb
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion src/main/libs/clients/SQLiteClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ export class SQLiteClient extends AntaresCore {
SELECT *
FROM "${db.name}".sqlite_master
WHERE type IN ('table', 'view')
AND name NOT LIKE 'sqlite_%'
AND name NOT LIKE 'sqlite\\_%' ESCAPE '\\'
ORDER BY name
`);
if (tables.length) {
Expand Down Expand Up @@ -743,4 +743,12 @@ export class SQLiteClient extends AntaresCore {

return result as unknown as T;
}

getVariables (): null[] {
return [];
}

getCollations (): null[] {
return [];
}
}

0 comments on commit 690cdcb

Please sign in to comment.