(self)
| 1995 | ) |
| 1996 | |
| 1997 | def test_join_alias(self): |
| 1998 | a = table("a", column("a")) |
| 1999 | b = table("b", column("b")) |
| 2000 | self.assert_compile( |
| 2001 | a.join(b, a.c.a == b.c.b)._anonymous_fromclause(), |
| 2002 | "SELECT a.a AS a_a, b.b AS b_b FROM a JOIN b ON a.a = b.b", |
| 2003 | ) |
| 2004 | |
| 2005 | def test_join_standalone_alias(self): |
| 2006 | a = table("a", column("a")) |
nothing calls this directly
no test coverage detected