src/DevPdoStatement.php
private function getExplain($interpolateQuery)
    {
        $explainSql = sprintf('EXPLAIN %s', $interpolateQuery);
        try {
            $sth = $this->pdo->query($explainSql);
            $explain = $sth->fetchAll(\PDO::FETCH_ASSOC);
            $sth = $this->pdo->query('SHOW WARNINGS');
            $sth instanceof \PDOStatement ? $warnings = $sth->fetchAll(\PDO::FETCH_ASSOC) : $warnings = [];
        } catch (\PDOException $e) {
            return [[], []];
        }

        return [$explain, $warnings];
    }
private function getExplain($interpolateQuery)
    {
        $explainSql = sprintf('EXPLAIN %s', $interpolateQuery);
        try {
            $sth = $this->pdo->query($explainSql);
            $explain = $sth->fetchAll(\PDO::FETCH_ASSOC);
            $sth = $this->pdo->query('SHOW WARNINGS');
            $sth instanceof \PDOStatement ? $warnings = $sth->fetchAll(\PDO::FETCH_ASSOC) : $warnings = [];
        } catch (\PDOException $e) {
            return [[], []];
        }

        return [$explain, $warnings];
    }
@param string $interpolateQuery

@return array