Skip to content
Sheetwrite

@sheetwrite/core

TableRelationshipinterface

Report a problem

On this page

One-to-many link between two workbook tables with a single key column on each side. Each from row matches at most one to row.

The names follow x15:modelRelationship: from is the foreign-key (many) side and to is the primary-key (one) side. A relationship whose table or column was removed stays saved, so undoing the removal restores it.

Members

Properties

id: string;

Stable identity, unique in the workbook.

One side: the key column, whose non-blank values must be unique.

Declaration

View full TypeScript declaration
export interface TableRelationship {
id: string;
}

Referenced by

Public exports naming TableRelationship