mssql indexes analyse WIP

This commit is contained in:
Jan Prochazka
2021-08-14 09:36:22 +02:00
parent 71e1ea5736
commit 3c0bc69662
5 changed files with 42 additions and 1 deletions

View File

@@ -117,6 +117,9 @@ class MsSqlAnalyser extends DatabaseAnalyser {
createSql: getCreateSql(row),
}));
const indexesRows = await this.driver.query(this.pool, this.createQuery('indexes', ['tables']));
const indexcolsRows = await this.driver.query(this.pool, this.createQuery('indexesindexcols', ['tables']));
return {
tables,
views,