I am integrating to Salesforce system using their PHP toolkit library.
My problem is that there is a 2000 records limit to each query.
I am looking for a way to split my 4000 records query into 2,
example: records 1 - 2000 and then 2001-4000.
Or if there is another solution I'll be happy to hear.
the query:
$query = "
SELECT Id, FirstName, LastName,Phone,Email from Contact
";
SELECT Id, FirstName, LastName,Phone,Email from Contact LIMIT 2000and for other 2000 recordSELECT Id, FirstName, LastName,Phone,Email from Contact LIMIT 2000 OFFSET 2000- Jenish