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
chore(format): fix oxfmt drift in data grid export files
t8y2b2784def5635
diff --git a/apps/desktop/src/composables/__tests__/useDataGridExport.spec.ts b/apps/desktop/src/composables/__tests__/useDataGridExport.spec.tsindex 8fd9d873a6..8340df9d84 100644--- a/apps/desktop/src/composables/__tests__/useDataGridExport.spec.ts+++ b/apps/desktop/src/composables/__tests__/useDataGridExport.spec.ts@@ -749,23 +749,7 @@ describe("useDataGridExport prepared row statements", () => {columns: [{ name: "created_at", data_type: "timestamp", is_nullable: true }],primaryKeys: [],};- const state = createExportState(- table,- ["created_at"],- undefined,- ["2020-12-02T15:18:29"],- undefined,- undefined,- [],- DEFAULT_DATA_GRID_EXTRACTOR_OPTIONS,- false,- undefined,- false,- 1,- 0,- "oracle",- () => "2020-12-02 15:18:29",- );+ const state = createExportState(table, ["created_at"], undefined, ["2020-12-02T15:18:29"], undefined, undefined, [], DEFAULT_DATA_GRID_EXTRACTOR_OPTIONS, false, undefined, false, 1, 0, "oracle", () => "2020-12-02 15:18:29");await state.copyCell();diff --git a/apps/desktop/src/composables/useDataGridExport.ts b/apps/desktop/src/composables/useDataGridExport.tsindex e2c4c81064..bdd2d73f50 100644--- a/apps/desktop/src/composables/useDataGridExport.ts+++ b/apps/desktop/src/composables/useDataGridExport.ts@@ -556,10 +556,7 @@ export function useDataGridExport(options: UseDataGridExportOptions) {const val = resolvedItem?.data[contextCell.value.col] ?? null;// 外部剪贴板呈现文本型 MySQL VARBINARY(NULL 也按空串输出);内部网格副本仍保留原 hex,保证回粘无损。const rawValue = clipboardCellValue(binaryClipboardCellValue(val, contextCell.value.col));- const copyValue =- options.databaseType.value === "oracle" && isTemporalColumnType(options.columnTypes.value?.[contextCell.value.col])- ? options.displayValue?.(val, sourceIndex) ?? rawValue- : rawValue;+ const copyValue = options.databaseType.value === "oracle" && isTemporalColumnType(options.columnTypes.value?.[contextCell.value.col]) ? (options.displayValue?.(val, sourceIndex) ?? rawValue) : rawValue;await copyText(copyValue, { rows: [[val]] });}