MCPcopy Create free account
hub / github.com/sqlalchemy/sqlalchemy / _getattr_col_key

Function _getattr_col_key

lib/sqlalchemy/sql/crud.py:549–555  ·  view source on GitHub ↗
(
            col: ColumnClause[Any],
        )

Source from the content-addressed store, hash-verified

547 return str_key
548
549 def _getattr_col_key(
550 col: ColumnClause[Any],
551 ) -> Union[str, Tuple[str, str]]:
552 if col.table in _et:
553 return (col.table.name, col.key) # type: ignore
554 else:
555 return col.key
556
557 def _col_bind_name(col: ColumnClause[Any]) -> str:
558 if col.table in _et:

Callers 3

_scan_colsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected