(self)
| 2540 | ) |
| 2541 | |
| 2542 | def test_full_outer_join(self): |
| 2543 | for spec in [ |
| 2544 | join(table1, table2, table1.c.myid == table2.c.otherid, full=True), |
| 2545 | outerjoin( |
| 2546 | table1, table2, table1.c.myid == table2.c.otherid, full=True |
| 2547 | ), |
| 2548 | table1.join(table2, table1.c.myid == table2.c.otherid, full=True), |
| 2549 | table1.outerjoin( |
| 2550 | table2, table1.c.myid == table2.c.otherid, full=True |
| 2551 | ), |
| 2552 | ]: |
| 2553 | stmt = select(table1).select_from(spec) |
| 2554 | self.assert_compile( |
| 2555 | stmt, |
| 2556 | "SELECT mytable.myid, mytable.name, mytable.description FROM " |
| 2557 | "mytable FULL OUTER JOIN myothertable " |
| 2558 | "ON mytable.myid = myothertable.otherid", |
| 2559 | ) |
| 2560 | |
| 2561 | def test_compound_selects(self): |
| 2562 | assert_raises_message( |
nothing calls this directly
no test coverage detected