Hacker News new | ask | show | jobs
by cheald 5488 days ago
If your pagination interface is simply "Next", then why not skip the count all together, limit(N+1) documents, and offer the "Next" button if the result set is N+1 large?