Building QueryMore Functionality in Apex: a SOQL OFFSET alternative

Have you ever been frustrated by the 2,000 row limit when using the SOQL OFFSET keyword? You may have seen the QueryMore operation in the Salesforce SOAP API but became brutally disappointed when you found out there was no equivalent accessible from Apex. This article will examine an alternate technique you can use to get around this limit for some use cases. In fact, we will be building a near functional equivalent of the QueryMore…

Continue reading