def save(self, doc):
        if doc.id:
            return self.update(doc)
        else:
            return self.insert(doc)
def delete(self, force_drop=False, *args, **kwargs):
        """
        Deletes this row. Drops the tenant's schema if the attribute
        auto_drop_schema set to True.
        """
        self._drop_schema(force_drop)
        super().delete(*args, **kwargs)