Backend Development16 min
Cursor Pagination in Postgres with Node.js (2026)
Build fast cursor pagination on Postgres with Node.js and TypeScript: keyset queries, a compound (created_at, id) tiebreaker, and opaque base64url cursors.
Tag
2 posts
Backend Development16 min
Build fast cursor pagination on Postgres with Node.js and TypeScript: keyset queries, a compound (created_at, id) tiebreaker, and opaque base64url cursors.
Backend Development16 min
Make POST and PATCH retry-safe. Build a production idempotency-key layer in TypeScript on Node 24 with Fastify 5 and Postgres 18: atomic claims, 409s, replays.