Joins t1->t2.
(self)
| 1464 | eq_(found, sorted(expected)) |
| 1465 | |
| 1466 | def test_join_x1(self): |
| 1467 | """Joins t1->t2.""" |
| 1468 | t1, t2, t3 = self.tables("t1", "t2", "t3") |
| 1469 | |
| 1470 | for criteria in (t1.c.t1_id == t2.c.t1_id, t2.c.t1_id == t1.c.t1_id): |
| 1471 | expr = select(t1.c.t1_id, t2.c.t2_id).select_from( |
| 1472 | t1.join(t2, criteria) |
| 1473 | ) |
| 1474 | self.assertRows(expr, [(10, 20), (11, 21)]) |
| 1475 | |
| 1476 | def test_join_x2(self): |
| 1477 | """Joins t1->t2->t3.""" |
nothing calls this directly
no test coverage detected