benjamin658 / typeorm-cursor-pagination

Cursor-based pagination works with TypeORM Query Builder.
MIT License
186 stars 40 forks source link

Querying without a limit #64

Closed nukeop closed 2 years ago

nukeop commented 2 years ago

Is it possible to query without a limit if I e.g. want to return results in a uniform format but need to skip pagination sometimes and fetch everything?

benjamin658 commented 2 years ago

You don't need to use this library if you need to list all data without limit. The limit is required to paginate data properly and determine the cursor.