Skip to content

Condition class

Represents some condition.


The default constructor. ⊕ new Condition(tag?: CondTag): Condition

  • tag: CondTag, Optional - The condition tag


The block id.

● blockId: string


The list of conditions.

● conditions: Condition[]


The value indicating whether this Condition is enabled.

● enabled: boolean


The list of expression.

● expressions: Expression[]


The value indicating whether this condition must be placed into JOIN clause in result SQL.

● inJoin: boolean


Condition enabled option.

● justAdded: boolean


The linking type.

● linkType: LinkType = LinkType.All


The operator id.

● operatorID: string


The value indicating whether this condition is parameterized.

● parameterized: boolean


The value indicating whether this condition is read-only.

● readOnly: boolean


The condition tag.

● tag: CondTag



Loads condtion from its JSON representation object.

▸ loadFromData(model: DataModel,data: ConditionData): void

Returns void


Saves condition to JSON representation object.

▸ saveToData(): ConditionData

Returns ConditionData - The JSON representation object.