protected function buildSelect()
{
$sql =& $this->_sql;
// Unimplemented select2count
$this->buildColumn();
$sql[] = 'FROM';
$this->buildTable();
$this->buildBeforeWhere();
$this->buildWhere();
$this->buildGroupBy();
$this->buildHaving();
$this->buildOrderBy();
$this->buildLimit();
$this->buildOthers();
}
/** * @override */ protected function buildSelect() { if (isset($this->option['sql_no_cache'])) { $this->_sqlPush('SQL_NO_CACHE '); } if (isset($this->option['sql_cache'])) { $this->_sqlPush('SQL_CACHE '); } if (isset($this->option['sql_buffer_result'])) { $this->_sqlPush('SQL_BUFFER_RESULT '); } parent::buildSelect(); }