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

Specificify batchSize #63

Open
Ksushik opened this issue Jan 2, 2020 · 2 comments
Open

Specificify batchSize #63

Ksushik opened this issue Jan 2, 2020 · 2 comments
Assignees

Comments

@Ksushik
Copy link
Contributor

Ksushik commented Jan 2, 2020

Hello,
It would be very nice to have opportunity to specify batchSize
https://help.salesforce.com/articleView?id=000323582&language=en_US&type=1&mode=1

Thanks ahead

@jottley jottley self-assigned this Jan 2, 2020
@jottley
Copy link
Owner

jottley commented Jan 2, 2020

Sounds like a good idea

@jottley
Copy link
Owner

jottley commented Jan 2, 2020

Notes:

  • We need to add an additional Integer parameter to allow setting of the batch size. In order to not break backward compatibility a new public QueryResult query method that can override the existing method should be added.
  • The existing getForObject method used does not support setting headers. This should be changed to an exchange method.
  • The header that should be added when setting the batchSize is Sforce-Query-Options the value of the header should be batchSize=
  • The default size is 2000. This is also the max. The minimum size is 200.

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

No branches or pull requests

2 participants