DataModelRelationship

DataModelRelationship class

Represents a single relationship in the spreadsheet data model.

class DataModelRelationship;

Properties

PropertyTypeDescription
foreignKeyTablestringReadonly. Gets the name of the foreign key table for this relationship.
primaryKeyTablestringReadonly. Gets the name of the primary key table for this relationship.
foreignKeyColumnstringReadonly. Gets the name of the foreign key table column for this relationship.
primaryKeyColumnstringReadonly. Gets the name of the primary key table column for this relationship.

Methods

MethodDescription
getForeignKeyTable()@deprecated. Please use the ‘foreignKeyTable’ property instead. Gets the name of the foreign key table for this relationship.
getPrimaryKeyTable()@deprecated. Please use the ‘primaryKeyTable’ property instead. Gets the name of the primary key table for this relationship.
getForeignKeyColumn()@deprecated. Please use the ‘foreignKeyColumn’ property instead. Gets the name of the foreign key table column for this relationship.
getPrimaryKeyColumn()@deprecated. Please use the ‘primaryKeyColumn’ property instead. Gets the name of the primary key table column for this relationship.
isNull()Checks whether the implementation object is null.

foreignKeyTable

Readonly. Gets the name of the foreign key table for this relationship.

foreignKeyTable : string;

primaryKeyTable

Readonly. Gets the name of the primary key table for this relationship.

primaryKeyTable : string;

foreignKeyColumn

Readonly. Gets the name of the foreign key table column for this relationship.

foreignKeyColumn : string;

primaryKeyColumn

Readonly. Gets the name of the primary key table column for this relationship.

primaryKeyColumn : string;

getForeignKeyTable()

@deprecated. Please use the ‘foreignKeyTable’ property instead. Gets the name of the foreign key table for this relationship.

getForeignKeyTable() : string;

getPrimaryKeyTable()

@deprecated. Please use the ‘primaryKeyTable’ property instead. Gets the name of the primary key table for this relationship.

getPrimaryKeyTable() : string;

getForeignKeyColumn()

@deprecated. Please use the ‘foreignKeyColumn’ property instead. Gets the name of the foreign key table column for this relationship.

getForeignKeyColumn() : string;

getPrimaryKeyColumn()

@deprecated. Please use the ‘primaryKeyColumn’ property instead. Gets the name of the primary key table column for this relationship.

getPrimaryKeyColumn() : string;

isNull()

Checks whether the implementation object is null.

isNull() : boolean;