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(sql-file): sync streaming fallback spec schema expectation
zipgfe6343310e2b
diff --git a/apps/desktop/src/composables/__tests__/useLargeSqlFileFallback.spec.ts b/apps/desktop/src/composables/__tests__/useLargeSqlFileFallback.spec.tsindex f219128f88..7e364ee074 100644--- a/apps/desktop/src/composables/__tests__/useLargeSqlFileFallback.spec.ts+++ b/apps/desktop/src/composables/__tests__/useLargeSqlFileFallback.spec.ts@@ -9,7 +9,7 @@ const mocks = vi.hoisted(() => ({toast: vi.fn(),store: {connections: [] as { id: string; db_type: string }[],- sqlFileSource: null as { connectionId: string; database: string; filePath?: string } | null,+ sqlFileSource: null as { connectionId: string; database: string; schema?: string; filePath?: string } | null,getConfig: vi.fn(),},queryStore: {@@ -85,6 +85,7 @@ describe("useLargeSqlFileStreamingFallback", () => {expect(mocks.store.sqlFileSource).toEqual({connectionId: "postgres-1",database: "app",+ schema: "reporting",filePath: "/tmp/dbx_export.sql",});});