Oct 30, 2021
Good question. I agree the main difference is at the DB. KeySet is a bit different than Cursor based in the API too:
- Cursor base-pagination has only one param, and it might contain different pieces of information (e.g. last_id, last_title). KeySet pagination can have multiple params with specific information (e.g. since_id, since_title).
- Key Set pagination is more transparent than the Cursor since most of the time, the "key" tells us the purpose of the key.
I hope it's clear. Thanks for reading Rodrigo!.