@earth-app/collegedb
    Preparing search index...

    Interface MigrateRecordOptions

    Options for migrateRecord.

    1.4.0

    interface MigrateRecordOptions {
        onConflict?: "replace" | "fail";
        pkColumn?: string;
    }

    Hierarchy (View Summary)

    Index
    onConflict?: "replace" | "fail"

    What to do when the destination already holds a row for the key. fail (the default) refuses unless that row is byte-equal to the source, which is a retried copy and proceeds. replace overwrites it.

    pkColumn?: string

    Primary-key column of the table (default id)