Merge branch 'master' into develop

This commit is contained in:
Jan Prochazka 2021-10-03 20:52:53 +02:00
commit b332cff588
2 changed files with 3 additions and 1 deletions

View File

@ -1,6 +1,6 @@
{
"private": true,
"version": "4.3.1",
"version": "4.3.2-beta.1",
"name": "dbgate-all",
"workspaces": [
"packages/*",

View File

@ -127,6 +127,7 @@ class Analyser extends DatabaseAnalyser {
idx.indkey
.split(' ')
.map(colid => indexcols.rows.find(col => col.oid == idx.oid && col.attnum == colid))
.filter(col => col != null)
.map(col => ({
columnName: col.column_name,
}))
@ -145,6 +146,7 @@ class Analyser extends DatabaseAnalyser {
idx.indkey
.split(' ')
.map(colid => indexcols.rows.find(col => col.oid == idx.oid && col.attnum == colid))
.filter(col => col != null)
.map(col => ({
columnName: col.column_name,
}))