mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-30 17:24:00 +00:00
clickhouse fix
This commit is contained in:
@@ -85,7 +85,7 @@ class Analyser extends DatabaseAnalyser {
|
|||||||
this.pool,
|
this.pool,
|
||||||
`SELECT uuid as id FROM system.tables WHERE database = '${this.pool._database_name}' AND name='${pureName}'`
|
`SELECT uuid as id FROM system.tables WHERE database = '${this.pool._database_name}' AND name='${pureName}'`
|
||||||
);
|
);
|
||||||
this.singleObjectId = resId.rows[0].id;
|
this.singleObjectId = resId.rows[0]?.id;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user