Appearance
PredicateGroup Class
Definition
Represents a logical grouping of clauses, joined by a logical operator (AND / OR). Used to nest multiple conditions into complex WHERE expressions.
- Namespace:
JASE.Database - Assembly:
JASE.Database.dll
Properties
| Name | Description |
|---|---|
IsGroup | Gets a value indicating whether this node represents a logical |
Logic | The logical operator used to join child clauses (AND or OR). |
Predicates | The list of predicate operations included in this group. |
Methods
| Name | Description |
|---|---|
PredicateGroup And(IPredicateNode[] predicates) | Creates a new clause group joined with AND. |
ulong ComputeHash() | Compute an FNV1a hash |
PredicateGroup Not(IPredicateNode predicate) | Negates a single predicate node. |
PredicateGroup Or(IPredicateNode[] predicates) | Creates a new clause group joined with OR. |
string ToSql(SqlRenderContext context) | Generates the SQL representation of this clause group. |