mirror of
https://github.com/Syngnat/GoNavi.git
synced 2026-07-24 23:40:22 +08:00
🐛 fix(oceanbase/data-grid): 修复 Oracle 时间字段显示编辑与结果视图异常
- 修复 OceanBase Oracle DATE 与 TIMESTAMP 的解码、展示和编辑精度丢失问题 - 修复查询结果与数据视图的行号显示、分页页数和日期列展示口径 - 打通 Oracle 与 OceanBase 会话执行链路的扫描方言透传 - 补齐 DBQuery、DataGrid temporal 和 OceanBase 结果链路回归测试
This commit is contained in:
@@ -82,6 +82,13 @@ export const resolveDataSourceType = (config: ConnectionLike): string => {
|
||||
return type;
|
||||
};
|
||||
|
||||
export const shouldShowOceanBaseRowNumberColumn = (config: ConnectionLike): boolean => {
|
||||
if (!config) return false;
|
||||
const type = normalizeDataSourceToken(String(config.type || ''));
|
||||
const driver = normalizeDataSourceToken(String(config.driver || ''));
|
||||
return type === 'oceanbase' || driver === 'oceanbase';
|
||||
};
|
||||
|
||||
const SQL_QUERY_EXPORT_TYPES = new Set([
|
||||
'mysql',
|
||||
'goldendb',
|
||||
|
||||
Reference in New Issue
Block a user