(self)
| 277 | self._assert_labeled_table1_select(s) |
| 278 | |
| 279 | def test_result_map_limit(self): |
| 280 | table1 = self.table1 |
| 281 | # some dialects such as oracle (and possibly ms-sql in a future |
| 282 | # version) generate a subquery for limits/offsets. ensure that the |
| 283 | # generated result map corresponds to the selected table, not the |
| 284 | # select query |
| 285 | s = ( |
| 286 | table1.select() |
| 287 | .set_label_style(LABEL_STYLE_TABLENAME_PLUS_COL) |
| 288 | .order_by(table1.c.this_is_the_primarykey_column) |
| 289 | .limit(2) |
| 290 | ) |
| 291 | self._assert_labeled_table1_select(s) |
| 292 | |
| 293 | def test_result_map_subquery(self): |
| 294 | table1 = self.table1 |
nothing calls this directly
no test coverage detected