Interface ImportResult

Import result with statistics.

interface ImportResult {
    success: boolean;
    tablesImported: number;
    rowsImported: number;
    errors?: string[];
    warnings?: string[];
    duration: number;
}

Hierarchy (view full)

Properties

success: boolean
tablesImported: number
rowsImported: number

Rows written: inserted, or replaced; a row onConflict: 'ignore' skipped is not counted.

errors?: string[]
warnings?: string[]

What the target table could not carry over: a default the target engine has no form of, a generated column made plain.

duration: number