HavingFilterBuilder
Having filter builder for adding, modifying, and removing post-aggregation filter conditions. Having filters take effect after data aggregation and are used to filter grouped results.
Properties
Methods
constructor
Definition:
Parameters:
getConditions
Definition:
Returns: Y.Array<any>
add
Adds a Having filter condition.
Definition:
Returns: HavingFilterBuilder
Parameters:
addGroup
Adds a Having group.
Definition:
Returns: HavingFilterBuilder
Parameters:
update
Updates the filter condition with the specified ID.
Definition:
Returns: HavingFilterBuilder
Parameters:
updateGroup
Updates the group with the specified ID.
Definition:
Returns: HavingFilterBuilder
Parameters:
remove
Removes the condition with the specified ID or the item at the specified index.
Definition:
Returns: HavingFilterBuilder
Parameters:
find
Finds the first condition (filter or group) matching the callback condition, behaves like Array.find.
Definition:
Returns: HavingFilterNodeBuilder \| HavingGroupBuilder \| undefined
Parameters:
clear
Clears all Having filter conditions.
Definition:
toJSON
Exports the complete Having filter configuration.
Definition:
Returns: VBIHavingGroup
observe
Listens for filter condition changes, returns an unsubscribe function.
Definition:
Returns: () => void
Parameters:
static isGroup
Determines whether the node is a group node.
Definition:
Returns: boolean
Parameters:
static isNode
Determines whether the node is a leaf node.
Definition:
Returns: boolean
Parameters: