Skip to content

Commit

Permalink
dev
Browse files Browse the repository at this point in the history
  • Loading branch information
MikeNitsenko committed Jul 31, 2023
1 parent 880c1c7 commit 7ea6b26
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions packages/cubejs-base-driver/src/BaseDriver.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,8 @@ import {
TableColumnQueryResult,
TableQueryResult,
TableStructure,
DriverCapabilities
DriverCapabilities,
SchemaQueryResult
} from './driver.interface';

const sortByKeys = (unordered: any) => {
Expand Down Expand Up @@ -313,7 +314,7 @@ export abstract class BaseDriver implements DriverInterface {
}

public getSchemasQuery() {
return this.query<{ schemaName: string }>(
return this.query<SchemaQueryResult>(
`SELECT schema_name FROM information_schema.schemata WHERE schema_name NOT IN (${this.getIgnoredSchemas()})`,
);
}
Expand Down

0 comments on commit 7ea6b26

Please sign in to comment.