src/handlers/NetteDatabaseHandler.php
public function getQuery()
	{
		return trim(NDB\Helpers::dumpSql($this->result->getQueryString(), $this->result->getParameters(), $this->result->connection));
	}
public function getQuery()
	{
		return trim(NDB\Helpers::dumpSql($this->result->getQueryString(), $this->result->getParameters(), $this->result->connection));
	}
Actual formatted query, e.g. 'SELECT * FROM ...'

@return Html|string