(self)
| 2516 | ) |
| 2517 | |
| 2518 | def test_full_outer_join(self): |
| 2519 | for spec in [ |
| 2520 | join(table1, table2, table1.c.myid == table2.c.otherid, full=True), |
| 2521 | outerjoin( |
| 2522 | table1, table2, table1.c.myid == table2.c.otherid, full=True |
| 2523 | ), |
| 2524 | table1.join(table2, table1.c.myid == table2.c.otherid, full=True), |
| 2525 | table1.outerjoin( |
| 2526 | table2, table1.c.myid == table2.c.otherid, full=True |
| 2527 | ), |
| 2528 | ]: |
| 2529 | stmt = select(table1).select_from(spec) |
| 2530 | self.assert_compile( |
| 2531 | stmt, |
| 2532 | "SELECT mytable.myid, mytable.name, mytable.description FROM " |
| 2533 | "mytable FULL OUTER JOIN myothertable " |
| 2534 | "ON mytable.myid = myothertable.otherid", |
| 2535 | ) |
| 2536 | |
| 2537 | def test_compound_selects(self): |
| 2538 | assert_raises_message( |
nothing calls this directly
no test coverage detected