@property
    def sql(self):
        if self.c:
            return self.base_statement % (self.klass.__tablename__, ' and '.join(self.c))
        return self.base_statement % self.klass.__tablename__
dataset/ETHPy150Open jasonlvhit/lunar/lunar/database.py/DeleteQuery.sql/original