Commit Graph
2226 Commits
Author SHA1 Message Date
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
КГБ Lieu 30fe61d440 fix(sql-file): extend relational constraint bypass to Postgres and SQL Server 2026-09-19 09:47:58 +08:00
Jinpy 2b15327de3 feat(plugins): hand SOCKS5 transport proxy routes to connections 2026-09-19 09:47:15 +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
Elias 0db9756a57 fix(xugu): restore table import support 2026-09-19 09:24:16 +08:00
zipg 00c4d30453 fix(agent): keep offline import resilient per item with os error detail 2026-09-19 00:22:18 +08:00
zipg e0e6a696b0 fix(kingbase): prefer factory default test database for empty connections 2026-09-19 00:21:57 +08:00
Abeautifulsnow 5278594ed2 feat(mcp): make dbx_execute_query row limit configurable 2026-09-19 00:20:33 +08:00
zipg 2b075625f2 fix(mysql): stop single-statement BEGIN pinning autocommit read snapshot 2026-09-18 22:47:15 +08:00
Freedom 1321dc9b9d feat(plugins): improve connection lifecycle and session tabs 2026-09-18 22:10:37 +08:00
jearhe f033e50ef5 fix(compare): preserve duplicate keys while removing sample overlap 2026-09-18 21:17:38 +08:00
Loc Nguyen f1e0f54a2b feat(mongodb): support db.getSiblingDB() 2026-09-18 15:38:53 +08:00
Loc Nguyen 2db28fc236 feat(mongodb): support db.collection.renameCollection() 2026-09-18 14:12:39 +08:00
jearhe 392138f59a refactor(sqlserver): resolve object source via OBJECT_ID identity 2026-09-18 14:12:12 +08:00
二丫讲梵 3dea25eaa7 feat(data-grid): optional database/schema prefix in copied INSERT SQL 2026-09-18 14:11:41 +08:00
t8y2 bc00431834 feat(core): split foundational capabilities into dedicated crates 2026-09-18 13:00:56 +08:00
t8y2 717cc318ed fix(transfer): omit unsupported Oracle create-table guards
Closes #9298
2026-09-18 01:32:31 +08:00
t8y2 d1a2d51351 fix(plugins): block updates while connections are active 2026-09-17 22:32:47 +08:00
Abeautifulsnow c040f9c9c3 fix(plugins): allow reinstalling rolled-back marketplace versions 2026-09-17 21:07:13 +08:00
t8y2 3b4f46253c fix(query): preserve integers beyond 64 bits in result serialization
Closes #9310
2026-09-17 20:13:04 +08:00
guan xin 6b81a98453 feat(dameng): show view validity and support recompilation 2026-09-17 19:30:44 +08:00
Jinpy e4bda693fb feat(plugins): add interactive prompts and richer connection forms 2026-09-17 19:29:28 +08:00
t8y2 fac270fc8a fix(mysql): refresh stale snapshots and streamline table reloads 2026-09-17 19:29:09 +08:00
Mo-Moore e00fbabb35 fix(oracle): include dictionary comments in table and view DDL 2026-09-17 19:28:50 +08:00
t8y2 be251d596e feat(sql-file): show byte-based import progress
Closes #9440
2026-09-17 18:37:56 +08:00
t8y2 fb25a66d7a fix(plugins): trust official signing keys for offline installation 2026-09-17 18:03:47 +08:00
t8y2 455117b8c5 feat(formatter): add custom default SQL layout engine 2026-09-17 17:21:47 +08:00
zipg 6d2c8a5edb fix(grid): exclude postgres serial primary keys in pk-free copies 2026-09-17 17:16:02 +08:00
gggaiitx dc4764e930 feat(export): add HTML export for query result grids 2026-09-17 17:14:55 +08:00
高桥凉介 d17ce46626 feat(export): honor exclude-primary-keys in SQL script exports 2026-09-17 14:13:36 +08:00
songpaopao 137a1a4161 fix(transfer): rewrite Oracle-family owner schema in reused DDL 2026-09-17 13:18:01 +08:00
Loc Nguyen f78dc1ba16 feat(mongodb): support bulkWrite 2026-09-17 12:54:21 +08:00
Abeautifulsnow 3f3c21aae9 feat(ai): add opt-in auto intent routing for the assistant 2026-09-17 12:53:55 +08:00
onenewcode c0d6965b5f fix(elasticsearch): complete mapping fields in Query DSL field slots 2026-09-17 11:48:34 +08:00
zipg c675c81131 fix(goldendb): return column charset metadata for table structure edits 2026-09-17 11:27:39 +08:00
t8y2 2dfd4e0058 fix(iris): keep ordinary schema names unquoted in qualified queries 2026-09-17 01:37:59 +08:00
Hand Sonic 13a209d4c2 feat(transfer): support h2 table data transfer 2026-09-17 00:36:11 +08:00
zipg 1a7b44f8fc fix(sqlserver): jtds prelogin fallback and legacy 2000 support
Closes #9333
2026-09-17 00:18:07 +08:00
t8y2 d35d578b03 fix(web): avoid crypto.randomUUID outside secure contexts
Closes #9306
2026-09-17 00:13:29 +08:00
二丫讲梵 57e98b6d86 feat(ai): session-level prompt cache key for openai responses
Closes #9232
2026-09-16 23:23:32 +08:00
Hand Sonic f5673ca0a1 feat(mongodb): bson dumps and database backup/restore 2026-09-16 22:46:48 +08:00
zipg ecc1135de3 fix(db): route search-path reset through dialect-aware helper
Closes #9304
2026-09-16 22:41:35 +08:00
zipg 81292760e2 fix(sqlserver): isolate legacy metadata pool from work pools
Closes #9183
2026-09-16 22:40:46 +08:00
弈秋 1d19c8b273 feat(gbase8s): pick locale and charset when creating database 2026-09-16 21:37:34 +08:00
Abeautifulsnow e9be6d0419 fix(editor): hide commit/rollback for clean mysql/pg manual transactions
Closes #9018
2026-09-16 20:17:55 +08:00
Loc Nguyen 91b8fa0aa8 fix(mongodb): reject unknown update options instead of dropping 2026-09-16 20:17:14 +08:00
КГБ Lieu b0d30e6f73 feat(sql-file): import split SQL ZIP packages with bounded extraction 2026-09-16 14:15:09 +08:00
t8y2 1170bcaa1c fix(transfer): keep partitions when converting target table name case 2026-09-16 13:26:53 +08:00
onenewcode 7ab781ce19 feat(mongodb): stream legacy agent exports via find cursors 2026-09-16 13:20:08 +08:00
Loc Nguyen 9eafac706e feat(mongodb): support replaceOne 2026-09-16 12:18:54 +08:00