Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
HavingRenderer.php
Go to the documentation of this file.
1 <?php
7 
9 
14 {
22  public function render(Select $select, $sql = '')
23  {
24  if ($select->getPart(Select::FROM) && $select->getPart(Select::HAVING)) {
25  $sql .= ' ' . Select::SQL_HAVING . ' ' . implode(' ', $select->getPart(Select::HAVING));
26  }
27  return $sql;
28  }
29 }
const HAVING
Definition: Select.php:53
const FROM
Definition: Select.php:49
const SQL_HAVING
Definition: Select.php:75