Joins t1->t2->t3.
(self)
| 1474 | self.assertRows(expr, [(10, 20), (11, 21)]) |
| 1475 | |
| 1476 | def test_join_x2(self): |
| 1477 | """Joins t1->t2->t3.""" |
| 1478 | t1, t2, t3 = self.tables("t1", "t2", "t3") |
| 1479 | |
| 1480 | for criteria in (t1.c.t1_id == t2.c.t1_id, t2.c.t1_id == t1.c.t1_id): |
| 1481 | expr = select(t1.c.t1_id, t2.c.t2_id).select_from( |
| 1482 | t1.join(t2, criteria) |
| 1483 | ) |
| 1484 | self.assertRows(expr, [(10, 20), (11, 21)]) |
| 1485 | |
| 1486 | def test_outerjoin_x1(self): |
| 1487 | """Outer joins t1->t2.""" |
nothing calls this directly
no test coverage detected