MCPcopy
hub / github.com/django/django / IndexName

Class IndexName

django/db/backends/ddl_references.py:113–122  ·  view source on GitHub ↗

Hold a reference to an index name.

Source from the content-addressed store, hash-verified

111
112
113class IndexName(TableColumns):
114 """Hold a reference to an index name."""
115
116 def __init__(self, table, columns, suffix, create_index_name):
117 self.suffix = suffix
118 self.create_index_name = create_index_name
119 super().__init__(table, columns)
120
121 def __str__(self):
122 return self.create_index_name(self.table, self.columns, self.suffix)
123
124
125class IndexColumns(Columns):

Callers 3

_create_index_sqlMethod · 0.90
setUpMethod · 0.90

Calls

no outgoing calls

Tested by 1

setUpMethod · 0.72