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
feat(data-grid): bulk-edit empty input sets selected cells to NULL
kkk000111999b226ab174bfa
diff --git a/apps/desktop/src/components/grid/DataGrid.vue b/apps/desktop/src/components/grid/DataGrid.vueindex 53723393db..e4f50485bd 100644--- a/apps/desktop/src/components/grid/DataGrid.vue+++ b/apps/desktop/src/components/grid/DataGrid.vue@@ -4944,7 +4944,7 @@ function applyVisibleCellValue(item: RowItem, visibleCol: number, value: stringreturn true;}-function fillSelectionWithValue(value: string): boolean {+function fillSelectionWithValue(value: string | null): boolean {const range = selectedRange.value;let applied = false;if (range) {@@ -5003,7 +5003,9 @@ function openBulkEditDialog() {}function applyBulkEditValue() {- if (!fillSelectionWithValue(bulkEditValue.value)) return;+ // Empty input sets the selected cells to SQL NULL (the placeholder hints "Value, or NULL").+ const value = bulkEditValue.value === "" ? null : bulkEditValue.value;+ if (!fillSelectionWithValue(value)) return;bulkEditDialogOpen.value = false;}