src/QueryBuilder.php
public function getCompiledSelect(string $table='', bool $reset=TRUE): string
	{
		// Set the table
		if ( ! empty($table))
		{
			$this->from($table);
		}

		return $this->_getCompile('select', $table, $reset);
	}
public function getCompiledSelect(string $table='', bool $reset=TRUE): string
	{
		// Set the table
		if ( ! empty($table))
		{
			$this->from($table);
		}

		return $this->_getCompile('select', $table, $reset);
	}
public function getCompiledSelect ( string $ table = '' , bool $ reset = TRUE ) : string { // Set the table if ( ! empty ( $ table ) ) { $ this -> from ( $ table ) ; } return $ this -> _getCompile ( 'select' , $ table , $ reset ) ; }
Returns the generated 'select' sql query

@param string $table
@param bool $reset
@return string
Returns the generated select sql query