Interface ParentRelation

Parent Relationship Type

interface ParentRelation {
    options: FieldOption;
    parents?: ParentRelation[];
    relatedField: string;
}

Properties

options: FieldOption

Field to be queried for the parent object.

parents?: ParentRelation[]

(Optional) Second-level parent object

relatedField: string

Field of the current object (Lookup/MasterDetail type), based on which the parent object is determined