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

    Interface MoveRecordOptions

    Options for a journaled move.

    1.4.0

    interface MoveRecordOptions {
        maxBindParameters?: number;
        onConflict?: "replace" | "fail";
        pkColumn?: string;
        retire?: RetirePolicy;
        versionColumn?: string;
    }

    Hierarchy (View Summary)

    Index
    maxBindParameters?: number

    Bind-parameter limit of the smallest shard involved (default 100, the D1 limit)

    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)

    retire?: RetirePolicy

    Retention for the archived source row (default 7 days)

    versionColumn?: string

    Column that changes on every write to the row. When set the cutover compares only the key and this column, which is required for rows with more columns than the bind-parameter limit allows.