mirror of
https://github.com/Syngnat/GoNavi.git
synced 2026-06-12 17:39:42 +08:00
✨ feat(iris): 新增 InterSystems IRIS 数据源支持
- 后端新增 IRIS 连接、查询、DDL、索引元数据和 DataGrid 编辑能力 - 接入 optional driver-agent、构建标签、revision 生成和变更检测流程 - 前端新增 IRIS 连接入口、方言映射、能力配置和图标展示 - 修复 IRIS 主键识别、事务开启错误处理和驱动连接关闭问题 - 补充后端、前端和构建脚本相关回归测试 Refs #408
This commit is contained in:
@@ -22,6 +22,7 @@ export type SqlDialect =
|
||||
| 'oracle'
|
||||
| 'dameng'
|
||||
| 'sqlserver'
|
||||
| 'iris'
|
||||
| 'sqlite'
|
||||
| 'duckdb'
|
||||
| 'clickhouse'
|
||||
@@ -68,6 +69,12 @@ export const resolveSqlDialect = (
|
||||
case 'sql_server':
|
||||
case 'sql-server':
|
||||
return 'sqlserver';
|
||||
case 'intersystems':
|
||||
case 'intersystemsiris':
|
||||
case 'inter-systems':
|
||||
case 'inter-systems-iris':
|
||||
case 'iris':
|
||||
return 'iris';
|
||||
case 'doris':
|
||||
case 'diros':
|
||||
return 'diros';
|
||||
@@ -122,6 +129,7 @@ export const resolveSqlDialect = (
|
||||
if (source.includes('clickhouse')) return 'clickhouse';
|
||||
if (source.includes('tdengine')) return 'tdengine';
|
||||
if (source.includes('sqlserver') || source.includes('mssql')) return 'sqlserver';
|
||||
if (source.includes('iris') || source.includes('intersystems')) return 'iris';
|
||||
|
||||
return source;
|
||||
};
|
||||
@@ -479,6 +487,7 @@ export const resolveColumnTypeOptions = (dbType: string): ColumnTypeOption[] =>
|
||||
if (dialect === 'oracle') return ORACLE_TYPES;
|
||||
if (dialect === 'dameng') return DAMENG_TYPES;
|
||||
if (dialect === 'sqlserver') return SQLSERVER_TYPES;
|
||||
if (dialect === 'iris') return COMMON_TYPES;
|
||||
if (dialect === 'sqlite') return SQLITE_TYPES;
|
||||
if (dialect === 'duckdb') return DUCKDB_TYPES;
|
||||
if (dialect === 'clickhouse') return CLICKHOUSE_TYPES;
|
||||
|
||||
Reference in New Issue
Block a user