benjamin658 / typeorm-cursor-pagination

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

Querying without a limit #64

Closed nukeop closed 1 year ago

nukeop commented 1 year 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 1 year 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.