WhereFilterBuilder
Where filter builder for adding, modifying, and removing row-level filter conditions. Where filters take effect before data querying and are used to filter raw data.
Properties
Methods
constructor
Definition:
Parameters:
getConditions
Definition:
Returns: Y.Array<any>
add
Adds a Where filter condition.
Definition:
Returns: WhereFilterBuilder
Parameters:
addGroup
Adds a Where group.
Definition:
Returns: WhereFilterBuilder
Parameters:
update
Updates the filter condition with the specified ID.
Definition:
Returns: WhereFilterBuilder
Parameters:
updateGroup
Updates the group with the specified ID.
Definition:
Returns: WhereFilterBuilder
Parameters:
remove
Removes the condition with the specified ID or the item at the specified index.
Definition:
Returns: WhereFilterBuilder
Parameters:
find
Finds the first condition (filter or group) matching the callback condition, behaves like Array.find.
Definition:
Returns: WhereFilterNodeBuilder \| WhereGroupBuilder \| undefined
Parameters:
clear
Clears all Where filter conditions.
Definition:
toJSON
Exports the complete Where filter configuration.
Definition:
Returns: VBIWhereGroup
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: