How to handle an offset greater than 2000 on SOQL without sorting by ID or date using the Salesforce Rest API
问题 Right now I'm working on migrating a site from using an oracle database to use salesforce. For querying the data we are using the latest version of the salesforce rest API. Right now I'm facing a problem paginating results with an offset greater than 2000. I have seen quite a few questions on this topic but none of them seem to fit my problem. So Here are the restrictions I need to fetch the results on chunks of 20 records (that is the page size). I can't just get a bunch of results and then