(self, index, base_field, *args, **kwargs)
| 335 | |
| 336 | class IndexTransform(Transform): |
| 337 | def __init__(self, index, base_field, *args, **kwargs): |
| 338 | super().__init__(*args, **kwargs) |
| 339 | self.index = index |
| 340 | self.base_field = base_field |
| 341 | |
| 342 | def as_sql(self, compiler, connection): |
| 343 | lhs, params = compiler.compile(self.lhs) |