new(core.gbapp): LLM alerts for data.
This commit is contained in:
parent
efeb75410a
commit
06ae13ba4f
1 changed files with 4 additions and 2 deletions
|
@ -212,7 +212,9 @@ export class GBUtil {
|
|||
public static async listTables(dialect: any, seq: any) {
|
||||
let tables;
|
||||
if (dialect === 'mssql') {
|
||||
// Extracting table name from the object returned by MSSQL
|
||||
tables = await seq.getQueryInterface().showAllTables({ schema: 'dbo' });
|
||||
tables = tables.map((table: any) => table.tableName); // Extracting the table name
|
||||
} else {
|
||||
tables = await seq.getQueryInterface().showAllTables();
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue