private function getResponse()
    {
        $this->lastInsertId = $this->provider->lastInsertId();

        $this->rowCount = $this->provider->rowCount($this->response);

        if (is_null($this->response)) {
            throw new DBException(
                'Error executing the query ' . $this->provider->getError()
            );
        }

        return $this->fetchResponse();
    }