* Show indexes on a table * * @param {string} tableName table name * @param {object} [options] Query options * * @returns {Promise<Array>} * @private
(tableName, options)
| 574 | * @private |
| 575 | */ |
| 576 | async showIndex(tableName, options) { |
| 577 | const sql = this.queryGenerator.showIndexesQuery(tableName, options); |
| 578 | return await this.sequelize.query(sql, { ...options, type: QueryTypes.SHOWINDEXES }); |
| 579 | } |
| 580 | |
| 581 | |
| 582 | /** |
no test coverage detected