Postgres can do an offset without a limit clause.
(self)
| 31 | class TestOffset(DBTestCase): |
| 32 | @engines_only("postgres", "cockroach") |
| 33 | def test_offset_postgres(self): |
| 34 | """ |
| 35 | Postgres can do an offset without a limit clause. |
| 36 | """ |
| 37 | self.insert_rows() |
| 38 | |
| 39 | response = Band.objects().order_by(Band.name).offset(1).run_sync() |
| 40 | |
| 41 | self.assertEqual( |
| 42 | [i.name for i in response], |
| 43 | ["Pythonistas", "Rustaceans"], |
| 44 | ) |
| 45 | |
| 46 | @sqlite_only |
| 47 | def test_offset_sqlite(self): |
nothing calls this directly
no test coverage detected