MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / _getattr_col_key

Function _getattr_col_key

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

Source from the content-addressed store, hash-verified

610 return str_key
611
612 def _getattr_col_key(
613 col: ColumnClause[Any],
614 ) -> Union[str, Tuple[str, str]]:
615 if col.table in _et:
616 return (col.table.name, col.key) # type: ignore
617 else:
618 return col.key
619
620 def _col_bind_name(col: ColumnClause[Any]) -> str:
621 if col.table in _et:

Callers 3

_scan_colsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected