HavingGroupBuilder
Having group builder for configuring the logical relationship (AND/OR) of a condition group.
Properties
Methods
constructor
Definition:
Parameters:
getConditions
Definition:
Returns: Y.Array<any>
getId
Gets the group ID.
Definition:
Returns: string
getOperator
Gets the logical operator.
Definition:
Returns: 'and' \| 'or'
setOperator
Sets the logical operator.
Definition:
Returns: this
Parameters:
add
Adds a Having filter condition to the group.
Definition:
Returns: this
Parameters:
addGroup
Adds a nested group to the current group.
Definition:
Returns: this
Parameters:
remove
Removes the condition with the specified ID or the item at the specified index.
Definition:
Returns: this
Parameters:
clear
Clears all conditions in the group.
Definition:
Returns: this
toJSON
Exports to JSON.
Definition:
Returns: VBIHavingGroup