Skip to content
Advertisement

How to skip records in SqlAlchemy query?

I have 100 rows in my DB. I’m trying to execute select query but I want to skip the first 10 rows (i.e. I want rows in range 11-20).

How can I do this?

Advertisement

Answer

The raw SQL is like:

JavaScript

In SqlAlchemy language it’s like:

JavaScript
User contributions licensed under: CC BY-SA
7 People found this is helpful
Advertisement