This repository was archived by the owner on Jan 10, 2024. It is now read-only.
This repository was archived by the owner on Jan 10, 2024. It is now read-only.
Force.com REST API batchSize #91
Copy link
Copy link
Open

Description
Hey guys,
I was running some SOQL queries and noticed that even though I set a limit of 1000 it still returns records at a max of 250 at a time. I'm not aware of anything from the org side that is setting this, so was looking at the REST API Developer Guide and found the Query Option Header.
I've added this into the Client.ajax beforeSend:
xhr.setRequestHeader('Sforce-Query-Options', 'batchSize=1000');
but it doesn't seem to affect the returned records batch size at all.
Any ideas?
Metadata
Metadata
Assignees
Labels
No labels