Whether the keys of a relationship resolve, checked from the current cell values. Rows are data-row offsets in their table, header row excluded.
ok: every non-blank one-side key is unique;unmatchedcounts the non-blank many-side keys that match no one-side row.missingTable,missingColumn: a table or column was removed.typeMismatch: the key atrowonsideis a boolean, an error on the one side, or not the same kind (number or text) as the other keys.duplicateKey: two one-side rows hold equal keys (text without case).unavailable: the loaded engine does not check keys (the default engine), or no relationship has this ID.
Variants 6
{ status: "ok"; unmatched: number }{ status: "missingTable" }{ status: "missingColumn" }{ status: "typeMismatch"; side: "from" | "to"; row: number }{ status: "duplicateKey"; rows: [number, number] }{ status: "unavailable" }Declaration
View full TypeScript declaration
export type RelationshipStatus = | { status: "ok"; unmatched: number; } | { status: "missingTable"; } | { status: "missingColumn"; } | { status: "typeMismatch"; side: "from" | "to"; row: number; } | { status: "duplicateKey"; rows: [number, number]; } | { status: "unavailable"; };Referenced by
Public exports naming RelationshipStatus
SheetwriteStore@sheetwrite/core