- Fixed some missing operators in Having query

This commit is contained in:
mcndave committed 2026-07-17 10:10:37 -04:00
1 parent 9062a73ee6
commit caf5bd9664
1 file changed
+1 -1
+1 -1
View File
@@ -106,7 +106,7 @@ class Having extends Fragment {
}
# whitelisting operators
return in_array(strtoupper($this->operator), [ '=', '!=', '<>', 'LIKE' ]) ? $this->operator : "=";
return in_array(strtoupper($this->operator), [ '=', '!=', '>', '>=', '<', '<=', '<>', 'LIKE', 'IS', 'IS NOT', 'REGEXP', 'IN' ]) ? $this->operator : "=";
}
protected function value()