def METHOD_NAME(self):
    fields = [field.METHOD_NAME() for field in self.fields]
    params = ['{}'] * len(fields)
    template = "ROW({})::{}".format(','.join(params), self.table_name)
    return template.format(*fields)