Skip to content

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 ​

NameDescription
IsGroupGets a value indicating whether this node represents a logical
LogicThe logical operator used to join child clauses (AND or OR).
PredicatesThe list of predicate operations included in this group.

Methods ​

NameDescription
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.