public function rewind()
    {
        if ($this->index < 0) {
            $this->row = $this->statement->fetch();
            $this->index = 0;
        } else {
            throw new \Exception('DataReader cannot rewind. It is a forward-only reader.');
        }
    }