* Show indexes on a table * * @param {string} tableName table name * @param {object} [options] Query options * * @returns {Promise } * @private
(tableName, options)
| 596 | * @private |
| 597 | */ |
| 598 | async showIndex(tableName, options) { |
| 599 | const sql = this.queryGenerator.showIndexesQuery(tableName, options); |
| 600 | return await this.sequelize.query(sql, { ...options, type: QueryTypes.SHOWINDEXES }); |
| 601 | } |
| 602 | |
| 603 | |
| 604 | /** |
no test coverage detected