We're executing a query:
SELECT Id, SomeField FROM SomeTable
We have over 80,000 items in SomeTable but only 2000 items are ever returned
SELECT Id, SomeField FROM SomeTable LIMIT 100000
does nothing to fix the problem.
What is the optimal way to overcome this limit? Using a for loop? What would be the syntax if using the PHP REST API?