SOQL Pagination for Salesforce API queries
- by Daniel Ballinger
Is there an efficient way to page through results from a SOQL query without bringing all the query results back and then discarding the majority of them?
As an example, I'd like to be able to to page through the complete list of contacts showing 10 records at a time. I don't have the need to sort by any particular field.