(self)
| 135 | DictBundle("pk", Data.id, Other.id) |
| 136 | |
| 137 | def test_same_named_col_in_orderby(self): |
| 138 | Data, Other = self.classes("Data", "Other") |
| 139 | bundle = Bundle("pk", Data.id, Other.id) |
| 140 | sess = fixture_session() |
| 141 | |
| 142 | self.assert_compile( |
| 143 | sess.query(Data, Other).order_by(bundle), |
| 144 | "SELECT data.id AS data_id, data.d1 AS data_d1, " |
| 145 | "data.d2 AS data_d2, data.d3 AS data_d3, " |
| 146 | "other.id AS other_id, other.data_id AS other_data_id, " |
| 147 | "other.o1 AS other_o1 " |
| 148 | "FROM data, other ORDER BY data.id, other.id", |
| 149 | ) |
| 150 | |
| 151 | def test_same_named_col_in_fetch(self): |
| 152 | Data, Other = self.classes("Data", "Other") |
nothing calls this directly
no test coverage detected