Salesforce Decode
Salesforcedecode
SOQL & Data ModelingIntermediateTrade-offperformancesoqlpagination

How do OFFSET and LIMIT work, and how should you paginate large result sets?

Scenario

A custom list component pages through 120,000 Cases using OFFSET and fails after page 100.

Answer it out loud first

Serious prep means attempting before reading. Take two minutes to structure your answer, then compare.