medium10 pts · first answer countsdatabasespaginationsql
Rows skipped with created_at cursors
An API pages with `WHERE created_at < $cursor ORDER BY created_at DESC LIMIT 50`. Rows with the same created_at are sometimes skipped. What is the fix?
Discussion 0
Join free to post in the discussion.
Related questions
- Stopping SQL injectionBackend Developer
- Purpose of a database indexBackend Developer
- Rows returned by a LEFT JOINBackend Developer
- What a foreign key enforcesBackend Developer
- Atomicity in a money transferBackend Developer
- COUNT and AVG with NULLsBackend Developer
- Filtering grouped resultsBackend Developer
- Duplicate emails despite a checkBackend Developer