Backend Developer

Case File: Page by Page

A list endpoint cannot send a million rows at once. Write cursor pagination: sort, hold the limit between 1 and a maximum, cut a page after a cursor, give the next cursor only when more rows remain, and walk every page. Check that every row appears once, and run the functions on requests you cannot see. The ids are generated for you alone.

50 min

Case File: Page by Page

A list endpoint cannot send a million rows at once. Write cursor pagination: sort, hold the limit between 1 and a maximum, cut a page after a cursor, give the next cursor only when more rows remain, and walk every page. Check that every row appears once, and run the functions on requests you cannot see. The ids are generated for you alone.

In this lesson:

  • api
  • pagination
  • cursor
  • python
  • rest
  • case-file

๐Ÿ”’ This lesson is part of a paid plan

This lesson is part of the Pro plan. Upgrade to unlock the full lesson, the labs and the exam.

Upgrade Now

This lesson is part of a paid plan

Upgrade to Pro to unlock this course, its labs and its exam.

View Pricing Plans