). And then I would like to do cursor based pagination in combination with an user supplied order (like via a REST api users can provide the sorting option like
first_name
first_name
,
last_name
last_name
,
gender
gender
,
date_of_birth
date_of_birth
,
place_name_of_origin
place_name_of_origin
. Is that possible, or should I use offset pagination in that case?
Prisma Client supports both offset pagination and cursor-based pagination. Learn more about the pros and cons of different pagination approaches and how to implement them.