Navigation Menu

Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Batch Size #323

Open
JPWallhorn opened this issue Aug 9, 2017 · 2 comments
Open

Batch Size #323

JPWallhorn opened this issue Aug 9, 2017 · 2 comments

Comments

@JPWallhorn
Copy link

Hello,

currently, I don't see any way to define the batch size for the REST API SOQL Query call when selecting a lot of data. You can customize the batch size in the header normally (200 - 2,000).

https://developer.salesforce.com/docs/atlas.en-us.api_rest.meta/api_rest/headers_queryoptions.htm

Is there already an option for the batch size or would that be a new feature?

@michniewicz
Copy link

@JPWallhorn have you tried to set this in request_headers as it is desribed in Readme?
https://github.com/restforce/restforce#custom-headers There is an example with sforce-auto-assign, so setting sforce-limit-info should work same way.

@JPWallhorn
Copy link
Author

@michniewicz Thank you for this, what exactly happens when I set to false as described? What is the method it's using? request_headers: { 'sforce-auto-assign' => 'FALSE' })

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants