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

Method isShowIndexesQuery

src/dialects/db2/query.js:456–462  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

454 return result;
455 }
456 isShowIndexesQuery() {
457 let result = false;
458
459 result = result || this.sql.toLowerCase().startsWith('exec sys.sp_helpindex @objname');
460 result = result || this.sql.startsWith('SELECT NAME AS "name", TBNAME AS "tableName", UNIQUERULE AS "keyType", COLNAMES, INDEXTYPE AS "type" FROM SYSIBM.SYSINDEXES');
461 return result;
462 }
463
464 handleShowIndexesQuery(data) {
465 let currItem;

Callers 3

runMethod · 0.95
formatResultsMethod · 0.95
formatResultsMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected