def save(self, doc):
        if doc.id:
            return self.update(doc)
        else:
            return self.insert(doc)
def get_data(self):
        """
        :returns: the loaded data of the transaction
        """

        return self._replay_data