def as_sql(self, compiler, connection):
        field, field_params = compiler.compile(self.lhs)
        value, value_params = compiler.compile(self.rhs)

        sql = self.sql_expression % (value, field)

        params = []
        params.extend(field_params)
        params.extend(value_params)

        return sql, params
dataset/ETHPy150Open adamchainz/django-mysql/django_mysql/models/expressions.py/AppendLeftListF.as_sql/original