public static function havingArgs($context, $args)
{
self::conditionArgs($context, 'HAVING', $args);
}
/** * * havingArgs([ * 'a'=>1, * 'b'=>['IN'=>[1,2]] * 'c'=>['BETWEEN'=>[1,2]] * 'd'=>['<>'=>1] * ]) * * => * "HAVING a=1 AND b IN(1,2) AND c BETWEEN 1 AND 2 AND d<>1" * * * @param array $args * @return \phprs\ezsql\rules\select\OrderByRule */ public function havingArgs($args) { WhereImpl::havingArgs($this->context, $args); return new OrderByRule($this->context); }