(
self,
c: ColumnClause[Any],
*,
index: Optional[int] = None,
)
| 3249 | return self.name |
| 3250 | |
| 3251 | def _insert_col_impl( |
| 3252 | self, |
| 3253 | c: ColumnClause[Any], |
| 3254 | *, |
| 3255 | index: Optional[int] = None, |
| 3256 | ) -> None: |
| 3257 | existing = c.table |
| 3258 | if existing is not None and existing is not self: |
| 3259 | raise exc.ArgumentError( |
| 3260 | "column object '%s' already assigned to table '%s'" |
| 3261 | % (c.key, existing) |
| 3262 | ) |
| 3263 | self._columns.add(c, index=index) |
| 3264 | c.table = self |
| 3265 | |
| 3266 | def append_column(self, column: ColumnClause[Any]) -> None: |
| 3267 | """Append a :class:`.ColumnClause` to this :class:`.TableClause`.""" |
no test coverage detected