private function buildSelect()
	{
		$selects = [];

		foreach ($this->select as $select)
		{
			$string = ($select['count']) ? "COUNT({$select['column']})" : $select['column'];

			// See if we're including an alias
			if (isset($select['as']))
			{
				$string .= " AS {$select['as']}";
			}

			// @FIXME: not quoting name here because we could have a function here as well
			// $selects[] = $this->connection->quoteName($string, $select['as']);
			$selects[] = $string;
		}

		return 'SELECT ' . implode(',', $selects);
	}
private function buildSelect()
	{
		$selects = [];

		foreach ($this->select as $select)
		{
			$string = ($select['count']) ? "COUNT({$select['column']})" : $select['column'];

			// See if we're including an alias
			if (isset($select['as']))
			{
				$string .= " AS {$select['as']}";
			}

			// @FIXME: not quoting name here because we could have a function here as well
			// $selects[] = $this->connection->quoteName($string, $select['as']);
			$selects[] = $string;
		}

		return 'SELECT ' . implode(',', $selects);
	}
private function buildSelect ( ) { $ selects = [ ] ; foreach ( $ this -> select as $ select ) { $ string = ( $ select [ 'count' ] ) ? "COUNT({$select['column']})" : $ select [ 'column' ] ; // See if we're including an alias if ( isset ( $ select [ 'as' ] ) ) { $ string .= " AS {$select['as']}" ; } // @FIXME: not quoting name here because we could have a function here as well // $selects[] = $this->connection->quoteName($string, $select['as']); $ selects [ ] = $ string ; } return 'SELECT ' . implode ( ',' , $ selects ) ; }
Builds a select statement from the set params

@return  string
@since   2.0.0
Builds a select statement from the set params