mirror of
https://github.com/Fabio286/antares.git
synced 2025-02-17 12:10:39 +01:00
Merge branch 'master' of https://github.com/Fabio286/antares into vue3-migration
This commit is contained in:
commit
4be0f6bbbc
@ -71,7 +71,7 @@ export class SQLiteClient extends AntaresCore {
|
|||||||
SELECT *
|
SELECT *
|
||||||
FROM "${db.name}".sqlite_master
|
FROM "${db.name}".sqlite_master
|
||||||
WHERE type IN ('table', 'view')
|
WHERE type IN ('table', 'view')
|
||||||
AND name NOT LIKE 'sqlite_%'
|
AND name NOT LIKE 'sqlite\\_%' ESCAPE '\\'
|
||||||
ORDER BY name
|
ORDER BY name
|
||||||
`);
|
`);
|
||||||
if (tables.length) {
|
if (tables.length) {
|
||||||
@ -743,4 +743,12 @@ export class SQLiteClient extends AntaresCore {
|
|||||||
|
|
||||||
return result as unknown as T;
|
return result as unknown as T;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
getVariables (): null[] {
|
||||||
|
return [];
|
||||||
|
}
|
||||||
|
|
||||||
|
getCollations (): null[] {
|
||||||
|
return [];
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
@ -90,7 +90,7 @@ export default {
|
|||||||
|
|
||||||
const connectionName = this.getConnectionName(this.selectedWorkspace);
|
const connectionName = this.getConnectionName(this.selectedWorkspace);
|
||||||
const workspace = this.getWorkspace(this.selectedWorkspace);
|
const workspace = this.getWorkspace(this.selectedWorkspace);
|
||||||
const breadcrumbs = Object.values(workspace.breadcrumbs).filter(breadcrumb => breadcrumb);
|
const breadcrumbs = Object.values(workspace.breadcrumbs).filter(breadcrumb => breadcrumb) || [workspace.client];
|
||||||
|
|
||||||
return [connectionName, ...breadcrumbs].join(' • ');
|
return [connectionName, ...breadcrumbs].join(' • ');
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user