25 MB lightweight cross-platform database client for 100+ databases, including MySQL, PostgreSQL, SQLite, Redis, MongoDB, DuckDB, SQL Server, and Dameng. Built-in AI, MCP Server, CLI, desktop and Docker. | 轻量级跨平台数据库管理工具,支持 MySQL、PostgreSQL、SQLite、Redis、MongoDB、达梦等 100+ 数据库,提供桌面端、Docker、CLI、内置 AI 助手和 MCP。
TypeScript aicliclickhousedatabasedatabase-clientdatabase-managementdockerguimcpmongodbmysqlpostgresqlredisrustsql-serversqlitetaurivue
test(completion): expect inline column comment in completion detail
t8y2eb790e7bfc5b
diff --git a/packages/app-tests/sqlCompletion.test.ts b/packages/app-tests/sqlCompletion.test.tsindex bd650ebbc6..8775ccdff2 100644--- a/packages/app-tests/sqlCompletion.test.ts+++ b/packages/app-tests/sqlCompletion.test.ts@@ -1357,7 +1357,7 @@ test("shows column comments in WHERE field completions", () => {});const column = items.find((item) => item.type === "column" && item.label === "status");- assert.equal(column?.detail, "public.orders [varchar] NOT NULL");+ assert.equal(column?.detail, "public.orders [varchar] NOT NULL -- Order lifecycle state");assert.equal(column?.info, "public.orders.status\nType: varchar\nNullable: no\nComment: Order lifecycle state");});