How to explicitly set the current page in a nextjs paginated query?
nextjs application, I have a use case where user can "jump" to a specific page and not only progress sequentially. For that user can indicate this url parameter ?page=n. How can I apply this parameter in my paginated query? In other words, I have created my paginated query function:The
paginationOptsValidator object defines a cursor property. Is this the property I should use? If yes, how should I proceed? Thanks
