(self)
| 91 | ) |
| 92 | |
| 93 | def test_select_composition_two(self): |
| 94 | s = select() |
| 95 | s = s.add_columns(column("column1"), column("column2")) |
| 96 | s = s.where(text("column1=12")) |
| 97 | s = s.where(text("column2=19")) |
| 98 | s = s.order_by("column1") |
| 99 | s = s.select_from(text("table1")) |
| 100 | self.assert_compile( |
| 101 | s, |
| 102 | "SELECT column1, column2 FROM table1 WHERE " |
| 103 | "column1=12 AND column2=19 ORDER BY column1", |
| 104 | ) |
| 105 | |
| 106 | def test_select_composition_three(self): |
| 107 | self.assert_compile( |
nothing calls this directly
no test coverage detected