(self)
| 491 | ) |
| 492 | |
| 493 | def test_fetch_limit_offset_self_group(self): |
| 494 | self.assert_compile( |
| 495 | select(1).limit(1).self_group(), |
| 496 | "(SELECT 1 LIMIT :param_1)", |
| 497 | checkparams={"param_1": 1}, |
| 498 | ) |
| 499 | self.assert_compile( |
| 500 | select(1).offset(1).self_group(), |
| 501 | "(SELECT 1 LIMIT -1 OFFSET :param_1)", |
| 502 | checkparams={"param_1": 1}, |
| 503 | ) |
| 504 | self.assert_compile( |
| 505 | select(1).fetch(1).self_group(), |
| 506 | "(SELECT 1 FETCH FIRST :param_1 ROWS ONLY)", |
| 507 | checkparams={"param_1": 1}, |
| 508 | ) |
| 509 | |
| 510 | def test_limit_fetch_interaction(self): |
| 511 | self.assert_compile( |
nothing calls this directly
no test coverage detected