Compare commits

...

2 Commits

Author SHA1 Message Date
caf5bd9664 - Fixed some missing operators in Having query 2026-07-17 10:10:37 -04:00
9062a73ee6 - WIP on package manager 2026-07-16 14:21:04 -04:00
2 changed files with 4 additions and 4 deletions

View File

@ -10,12 +10,12 @@
} }
], ],
"require": { "require": {
"mcnd/notes": "dev-master" "mcnd/notes": "^2.1.1"
}, },
"repositories": [ "repositories": [
{ {
"type": "vcs", "type": "composer",
"url": "https://github.com/mcNdave/notes.git" "url": "https://git.mcnd.ca/api/packages/mcndave/composer"
} }
], ],
"autoload": { "autoload": {

View File

@ -106,7 +106,7 @@ class Having extends Fragment {
} }
# whitelisting operators # 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() protected function value()