Class: DataRelation

DataSet~DataRelation(relationName, parentTableName, parentColsName, childTableName, childColsNameopt) → {DataRelation}

new DataRelation(relationName, parentTableName, parentColsName, childTableName, childColsNameopt) → {DataRelation}

Describe a relation between two DataTables of a DataSet.
Parameters:
Name Type Attributes Default Description
relationName string
parentTableName string
parentColsName String | Array.<String> array of string
childTableName string
childColsName String | Array.<String> <optional>
parentColsName optional names of child columns
Source:
Returns:
Type
DataRelation