sql server index analyser works

This commit is contained in:
Jan Prochazka
2021-08-19 15:14:27 +02:00
parent a5cc99005a
commit c5a3ee01ee
5 changed files with 34 additions and 7 deletions

View File

@@ -120,6 +120,8 @@ describe('Table analyse', () => {
const t1 = structure.tables.find(x => x.pureName == 't1');
expect(t1.indexes.length).toEqual(1);
expect(t1.indexes[0].columns.length).toEqual(1);
expect(t1.indexes[0].columns[0]).toEqual(expect.objectContaining({ columnName: 'val1' }));
})
);
});