src/handlers/DibiHandler.php
public function getInfo()
	{
		if (!$this->event->sql)
		{
			return NULL;
		}

		$query = 'EXPLAIN (FORMAT JSON) ' . $this->event->sql;
		$explain = $this->event->connection->nativeQuery($query);
		$data = json_decode($explain->fetchSingle(), TRUE);
		return Html::el()->setHtml(Dumper::toHtml($data, [
			Dumper::COLLAPSE => TRUE,
		]));
	}
public function getInfo()
	{
		if (!$this->event->sql)
		{
			return NULL;
		}

		$query = 'EXPLAIN (FORMAT JSON) ' . $this->event->sql;
		$explain = $this->event->connection->nativeQuery($query);
		$data = json_decode($explain->fetchSingle(), TRUE);
		return Html::el()->setHtml(Dumper::toHtml($data, [
			Dumper::COLLAPSE => TRUE,
		]));
	}
e.g. SQL explain

@return NULL|Html|string
@throws \DibiException
@throws \Exception