nestjs-typeorm-paginate icon indicating copy to clipboard operation
nestjs-typeorm-paginate copied to clipboard

Cursor-based pagination

Open abehnamfard opened this issue 4 years ago • 2 comments

Hello As we all know offset and limit based pagination have performance issue in large amount of data. I think the best solution is Cursor-based pagination. Do you have any plane to implement this type of pagination?

abehnamfard avatar Dec 07 '20 11:12 abehnamfard

you mean as a from given ID solution? I did yes #41 However never had a use for it so never implemented it in the end. It is for a given primary key right?

bashleigh avatar Dec 07 '20 11:12 bashleigh

Yes that's right.

abehnamfard avatar Dec 07 '20 11:12 abehnamfard