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

+1
View File
@@ -1094,6 +1094,7 @@ export type {
TransferOwnershipPolicy,
TransferOwnershipPreview,
TableImportMode,
TableImportConflictPolicy,
TableImportStatus,
TableImportSourceFormat,
TableImportJsonShape,
+2
View File
@@ -5375,6 +5375,7 @@ export async function sortTablesByFkDependency(options: SortTablesByFkOptions):
// --- Table File Import ---
export type TableImportMode = "append" | "truncate";
export type TableImportConflictPolicy = "error" | "skip" | "updateExisting";
export type TableImportStatus = "running" | "done" | "error" | "cancelled";
export type TableImportPhase = "preparing" | "detectingEncoding" | "reading" | "writing" | "finalizing" | "done";
export type TableImportSourceFormat = "csv" | "tsv" | "delimited" | "json" | "excel" | "sql";
@@ -5451,6 +5452,7 @@ export interface TableImportRequest {
dateTimeFormat?: string;
preparedSource?: TableImportPreparedSource | null;
retainSource?: boolean;
conflictPolicy?: TableImportConflictPolicy;
skipDuplicateRows?: boolean;
}