6

NestJS Graphql Cursor Based pagination

 1 year ago
source link: https://gist.github.com/tumainimosha/6652deb0aea172f7f2c4b2077c72d16c
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

NestJS Graphql Cursor Based pagination · GitHub

Thanks for the example but this code works fine only when the sorting is ASC, otherwise hasNextPage and hasPreviousPage displays wrong results.


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK