Hold a reference to an index name.
| 111 | |
| 112 | |
| 113 | class 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 | |
| 125 | class IndexColumns(Columns): |
no outgoing calls