Commit Graph
11 Commits
Author SHA1 Message Date
t8y2 b040600e47 fix(sidebar): preserve virtual table group ordering during refresh
Closes #9665
2026-09-20 11:38:09 +08:00
zipgandzipg 74c275b2ce fix(sqlserver): 表结构支持查看约束(主键/唯一/外键/检查/默认值) (#9581)
SQL Server 连接的「编辑表结构」面板里只有 DDL/字段/索引/外键/触发器,
没有「约束」页签;用户无法查看某张表的约束。

list_constraints 在 SQL Server 驱动中完全缺失:驱动侧没有对应实现,
dbx-core 的 list_constraints_core 没有 SQL Server 分支,直接落到默认的
空数组;前端 tableMetadataCapabilities 也没有声明 sqlserver 支持,
因此即使是空页签也不会渲染。

- dbx-drivers 新增 list_constraints,用一条 UNION ALL 查询汇总
  sys.key_constraints(PK/UNIQUE)、sys.foreign_keys(含引用库表列、
  ON UPDATE/DELETE 动作、is_not_trusted)、sys.check_constraints、
  sys.default_constraints;列名用 FOR XML PATH('') 聚合,兼容 SQL Server
  2008(无 STRING_AGG)
- list_constraints_core 增加 SQL Server 分支与链接服务器早退
- tableMetadataCapabilities 为 sqlserver 打开 constraints,前端显示「约束」页签
- 新增单测覆盖 SQL 形态与列名拆包,并补充前端能力断言

Co-authored-by: zipg <4047349+zipg@users.noreply.github.com>
2026-09-19 13:31:45 +08:00
ReadMe.md 1f43d184aa feat(sidebar): add nested virtual table groups with drag and batch move 2026-09-19 09:24:34 +08:00
Melody Ruch aa637b2d90 fix(grid): keep filters when refreshing restored table tabs 2026-09-03 17:52:07 +08:00
amwps290 20a2994fa1 feat(structure): show table constraints for postgres-compatible dbs 2026-08-28 12:14:04 +08:00
t8y2 72bb880ee7 fix(table-paste): surface first batch paste error
Closes #4832
2026-08-23 16:24:19 +00:00
Melody Ruch f9c4f290f5 feat(oracle): show table constraints in structure editor 2026-08-15 23:28:53 +08:00
Yy-702 e749bdd42c feat(oracle): Ctrl/Cmd+click 打开存储过程源码
* feat(oracle): open procedure source via Ctrl/Cmd+click in SQL editor

Allow navigating from SQL identifiers to routine source like DataGrip/DBeaver.
Call sites open immediately without a global ALL_OBJECTS scan, and query-tab
views wrap bare Oracle ALL_SOURCE as CREATE OR REPLACE for editable DDL.

Close #5290

* fix(oracle): harden Ctrl/Cmd+click navigation identity model

Address review feedback on routine navigation correctness:
- Distinguish relation column lists (INSERT INTO t(...)) from routine calls
- Resolve schema.routine vs package.member before optimistic open
- Preserve quoted mixed-case identities for Oracle ALL_SOURCE lookup
- Try exact then uppercase name candidates in the Oracle Go agent
2026-08-05 23:57:50 +08:00
onenewcode 8e7b74d0ee feat(mongodb): improve sidebar index management 2026-08-02 22:45:33 +08:00
zhangsan 551f696cd5 feat(transfer): support cross-database table paste 2026-07-29 21:07:11 +08:00
t8y2 16d7aef4db fix(grid): reload restored data tabs from shortcuts 2026-07-11 00:17:02 +08:00