def as_sql(self, qn, connection):
        lhs, lhs_params = self.process_lhs(qn, connection)
        rhs, rhs_params = self.process_rhs(qn, connection)
        params = lhs_params + rhs_params
        return (lhs, rhs) % 'json_array_length(%s) = %s', params
dataset/ETHPy150Open djangonauts/django-pgjson/django_pgjson/lookups.py/ArrayLengthLookup.as_sql/swapped operands of `%`