MCPcopy Create free account
hub / github.com/zzzeek/sqlalchemy / test_select_table_alias_column

Method test_select_table_alias_column

test/sql/test_selectable.py:3924–3931  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

3922 assert t.c.x in mapping
3923
3924 def test_select_table_alias_column(self):
3925 t = self._fixture()
3926 x = t.c.x
3927
3928 ta = t.alias()
3929 s = select(ta.c.x, ta.c.y)
3930 mapping = self._mapping(s)
3931 assert x not in mapping
3932
3933 def test_select_label_alt_name_table_alias_column(self):
3934 t = self._fixture()

Callers

nothing calls this directly

Calls 4

_fixtureMethod · 0.95
_mappingMethod · 0.95
selectFunction · 0.90
aliasMethod · 0.45

Tested by

no test coverage detected