We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9cf36ca commit e5f49e8Copy full SHA for e5f49e8
adminforth/index.ts
@@ -408,8 +408,8 @@ class AdminForth implements IAdminForth {
408
409
async getAllColumnsInTable(
410
tableName: string
411
- ): Promise<{ [dataSourceId: string]: string[] }> {
412
- const results: { [dataSourceId: string]: string[] } = {};
+ ): Promise<{ [dataSourceId: string]: Array<{ name: string; type?: string; isPrimaryKey?: boolean }> }> {
+ const results: { [dataSourceId: string]: Array<{ name: string; type?: string; isPrimaryKey?: boolean }> } = {};
413
414
if (!this.config.databaseConnectors) {
415
this.config.databaseConnectors = { ...this.connectorClasses };
0 commit comments