mirror of https://github.com/Fabio286/antares.git
fix(SQLite): tables with sqlite in name not visible, closes #239
This commit is contained in:
parent
3450497010
commit
690cdcb2eb
|
@ -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) {
|
||||
|
@ -743,4 +743,12 @@ export class SQLiteClient extends AntaresCore {
|
|||
|
||||
return result as unknown as T;
|
||||
}
|
||||
|
||||
getVariables (): null[] {
|
||||
return [];
|
||||
}
|
||||
|
||||
getCollations (): null[] {
|
||||
return [];
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue