MCPcopy
hub / github.com/django/django / __init__

Method __init__

django/contrib/postgres/fields/array.py:337–340  ·  view source on GitHub ↗
(self, index, base_field, *args, **kwargs)

Source from the content-addressed store, hash-verified

335
336class 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)

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected