Example #1
0
 /**
  * Строит WHERE часть запроса
  * @internal
  * @param ISelectBuilder $query
  * @return string
  */
 private function buildSelectHavingPart(ISelectBuilder $query)
 {
     if (!($exprGroup = $query->getHavingExpressionGroup())) {
         return '';
     }
     return "\nHAVING " . $this->buildExpressionGroup($exprGroup);
 }