MCPcopy Index your code
hub / github.com/sqlalchemy/sqlalchemy / test_join_init

Method test_join_init

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

Source from the content-addressed store, hash-verified

1753 assert j.c.b_q is q
1754
1755 def test_join_init(self):
1756 a = table("a", column("x"))
1757 b = table("b", column("y"))
1758 j = a.join(b, a.c.x == b.c.y)
1759 j.c
1760 q = column("q")
1761 b.append_column(q)
1762 j._refresh_for_new_column(q)
1763 assert j.c.b_q is q
1764
1765 def test_join_samename_init(self):
1766 a = table("a", column("x"))

Callers

nothing calls this directly

Calls 5

tableFunction · 0.90
columnFunction · 0.90
joinMethod · 0.45
append_columnMethod · 0.45

Tested by

no test coverage detected