spring-social-salesforce
spring-social-salesforce copied to clipboard
Specificify batchSize
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
Sounds like a good idea
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.