Having
Having
The way to made a having in ivory just need some easy steps.
Example
require_once('Operations.php');
$ivoryOrm = new Operations();
$arrSelect[] = "id";
$arrSelect[] = "country";
$tables[] = "users";
$having = "COUNT(id) > 5";
//the method select creates the query : SELECT id,country FROM users HAVING COUNT(id) > 5;
$select = $ivoryOrm->select($arrSelect, $tables);
$select = $ivoryOrm->having($select, $having);
//the method runQuery is responsible to literally run your query into the database;
$result = $ivoryOrm->runQuery($select);