Joins t1->t2->t3.
(self)
| 1542 | self.assertRows(expr, [(10, 20), (11, 21)]) |
| 1543 | |
| 1544 | def test_join_x2(self): |
| 1545 | """Joins t1->t2->t3.""" |
| 1546 | t1, t2, t3 = self.tables("t1", "t2", "t3") |
| 1547 | |
| 1548 | for criteria in (t1.c.t1_id == t2.c.t1_id, t2.c.t1_id == t1.c.t1_id): |
| 1549 | expr = select(t1.c.t1_id, t2.c.t2_id).select_from( |
| 1550 | t1.join(t2, criteria) |
| 1551 | ) |
| 1552 | self.assertRows(expr, [(10, 20), (11, 21)]) |
| 1553 | |
| 1554 | def test_outerjoin_x1(self): |
| 1555 | """Outer joins t1->t2.""" |
nothing calls this directly
no test coverage detected