feat(import): update rows on primary-key conflicts

Closes #10014
This commit is contained in:
t8y2 committed 2026-09-27 05:54:32 +00:00
1 parent d5dcdabd22
commit 5f8bcf74a5
12 files changed
+758 -110

No files matched your search

+8
View File
@@ -6856,7 +6856,15 @@ export default {
lastDataRow: "Last data row (0 for end)",
trimValues: "Trim values",
emptyStringAsNull: "Empty string as NULL",
conflictPolicy: "On primary-key conflict",
conflictError: "Stop with an error",
skipDuplicateRows: "Skip duplicate rows",
updateExistingRows: "Update the existing row",
updateExistingRequiresExistingTable: "Updating conflicts requires an existing target table.",
updateExistingUnsupportedDialect: "Updating conflicts is not supported for this database.",
updateExistingRequiresPrimaryKey: "Updating conflicts requires primary-key metadata for the target table.",
updateExistingRequiresMappedPrimaryKey: "Map every primary-key column to update conflicts. Missing: {columns}",
updateExistingRequiresMappedValue: "Map at least one non-primary-key column to update conflicts.",
jsonShape: "JSON rows",
jsonShapeAuto: "Auto-detect",
jsonShapeObjects: "Objects",
+9
View File
@@ -6823,6 +6823,15 @@ export default withEnglishFallback({
lastDataRow: "最后数据行(0 表示末尾)",
trimValues: "裁剪空白",
emptyStringAsNull: "空字符串作为 NULL",
conflictPolicy: "主键冲突时",
conflictError: "停止并报错",
skipDuplicateRows: "跳过重复行",
updateExistingRows: "更新已有行",
updateExistingRequiresExistingTable: "冲突更新仅适用于已有目标表。",
updateExistingUnsupportedDialect: "当前数据库不支持冲突更新。",
updateExistingRequiresPrimaryKey: "冲突更新需要目标表的主键元数据。",
updateExistingRequiresMappedPrimaryKey: "冲突更新需要映射所有主键列,缺少:{columns}",
updateExistingRequiresMappedValue: "冲突更新需要至少映射一个非主键列。",
jsonShape: "JSON 行结构",
jsonShapeAuto: "自动检测",
jsonShapeObjects: "对象",
+9
View File
@@ -5525,6 +5525,15 @@ export default withEnglishFallback({
hasHeader: "首列為標頭",
trimValues: "裁剪空白",
emptyStringAsNull: "空字串作為 NULL",
conflictPolicy: "主鍵衝突時",
conflictError: "停止並回報錯誤",
skipDuplicateRows: "略過重複列",
updateExistingRows: "更新既有列",
updateExistingRequiresExistingTable: "衝突更新僅適用於既有目標資料表。",
updateExistingUnsupportedDialect: "目前資料庫不支援衝突更新。",
updateExistingRequiresPrimaryKey: "衝突更新需要目標資料表的主鍵中繼資料。",
updateExistingRequiresMappedPrimaryKey: "衝突更新需要映射所有主鍵欄位,缺少:{columns}",
updateExistingRequiresMappedValue: "衝突更新需要至少映射一個非主鍵欄位。",
jsonShape: "JSON 列結構",
jsonShapeAuto: "自動偵測",
jsonShapeObjects: "物件",