Solar_Sql_Adapter::_select PHP Method

_select() protected method

Returns a SELECT statement built from its component parts.
protected _select ( array $parts ) : string
$parts array The component parts of the SELECT.
return string The SELECT string.
    protected function _select($parts)
    {
        // buid the statment
        if (empty($parts['compound'])) {
            $stmt = $this->_selectSingle($parts);
        } else {
            $stmt = $this->_selectCompound($parts);
        }
        // modify per adapter
        $this->_modSelect($stmt, $parts);
        // done!
        return $stmt;
    }