MCPcopy
hub / github.com/sequelize/sequelize / showTablesQuery

Method showTablesQuery

lib/dialects/db2/query-generator.js:174–176  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

172 }
173
174 showTablesQuery() {
175 return "SELECT TABNAME AS \"tableName\", TRIM(TABSCHEMA) AS \"tableSchema\" FROM SYSCAT.TABLES WHERE TABSCHEMA = USER AND TYPE = 'T' ORDER BY TABSCHEMA, TABNAME";
176 }
177
178 dropTableQuery(tableName) {
179 const query = 'DROP TABLE <%= table %>';

Callers 3

showAllTablesMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected