virtual
A class to handle boolean logic, when it comes to HAVING and WHERE clauses, it's all the same except for the comparison
Since
3/23/2024
Group Soql Engine
Author Zackary Frazier
The database to use for queries
public db
The head conditional node
public head
The object being compared (either SObject or Aggregate)
public obj
Object
Parameters for bind variables in the query
public params
Map<String,Object>
The select node to compare against
public selectNode
Constructor
public BooleanLogicHandler(BooleanLogicOptions options)
Name | Type | Description |
---|---|---|
options | BooleanLogicOptions | The options for the handler |
Evaluate the conditional expression
public Boolean evaluate()
Boolean
Whether the conditional expression is met
Evaluate the conditional expression, intended to be overridden
public virtual Boolean isCompareConditionMet(Node node)
Name | Type | Description |
---|---|---|
node | Node | The node to evaluate |
Boolean
Whether the conditional expression is met