MCPcopy Create free account
hub / github.com/NobleMajo/al-sql / getTableStructure

Method getTableStructure

src/pg.ts:58–66  ·  view source on GitHub ↗
(
        table: SqlTable
    )

Source from the content-addressed store, hash-verified

56 }
57
58 getTableStructure(
59 table: SqlTable
60 ): ExecutableSqlQuery {
61 return [
62 `select column_name, data_type, character_maximum_length ` +
63 `from INFORMATION_SCHEMA.COLUMNS where table_name = $1`,
64 table.name
65 ]
66 }
67
68 createSqlFieldCondition(
69 currentTable: string,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected