2

How can we paginate the Django Rest API with Cassandra, there is no offset to paginate, the only solution preferred so far is to use greater than(>) or less than(<) on primary keys with the limit.

This will work to an extent, but only if I know the last or first item of the current page,

  • What if I need to move from 1st page to 7th page directly?
  • What if my starting index gets deleted in another user session?
Thomas John
  • 2,138
  • 2
  • 22
  • 38

0 Answers0