mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-23 10:25:59 +00:00
Merge branch 'master' into develop
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"private": true,
|
"private": true,
|
||||||
"version": "4.3.1",
|
"version": "4.3.2-beta.1",
|
||||||
"name": "dbgate-all",
|
"name": "dbgate-all",
|
||||||
"workspaces": [
|
"workspaces": [
|
||||||
"packages/*",
|
"packages/*",
|
||||||
|
|||||||
@@ -127,6 +127,7 @@ class Analyser extends DatabaseAnalyser {
|
|||||||
idx.indkey
|
idx.indkey
|
||||||
.split(' ')
|
.split(' ')
|
||||||
.map(colid => indexcols.rows.find(col => col.oid == idx.oid && col.attnum == colid))
|
.map(colid => indexcols.rows.find(col => col.oid == idx.oid && col.attnum == colid))
|
||||||
|
.filter(col => col != null)
|
||||||
.map(col => ({
|
.map(col => ({
|
||||||
columnName: col.column_name,
|
columnName: col.column_name,
|
||||||
}))
|
}))
|
||||||
@@ -145,6 +146,7 @@ class Analyser extends DatabaseAnalyser {
|
|||||||
idx.indkey
|
idx.indkey
|
||||||
.split(' ')
|
.split(' ')
|
||||||
.map(colid => indexcols.rows.find(col => col.oid == idx.oid && col.attnum == colid))
|
.map(colid => indexcols.rows.find(col => col.oid == idx.oid && col.attnum == colid))
|
||||||
|
.filter(col => col != null)
|
||||||
.map(col => ({
|
.map(col => ({
|
||||||
columnName: col.column_name,
|
columnName: col.column_name,
|
||||||
}))
|
}))
|
||||||
|
|||||||
Reference in New Issue
Block a user