MCPcopy
hub / github.com/sequelize/sequelize / isShowIndexesQuery

Method isShowIndexesQuery

lib/dialects/db2/query.js:442–448  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

440 return result;
441 }
442 isShowIndexesQuery() {
443 let result = false;
444
445 result = result || this.sql.toLowerCase().startsWith('exec sys.sp_helpindex @objname');
446 result = result || this.sql.startsWith('SELECT NAME AS "name", TBNAME AS "tableName", UNIQUERULE AS "keyType", COLNAMES, INDEXTYPE AS "type" FROM SYSIBM.SYSINDEXES');
447 return result;
448 }
449
450 handleShowIndexesQuery(data) {
451 let currItem;

Callers 3

runMethod · 0.95
formatResultsMethod · 0.95
formatResultsMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected