jsforce
jsforce copied to clipboard
Lowering the Batch Size
I'm trying to lower the Batch Size. My understanding as per the Salesforce documentation is that this is defined at the Connection level.
https://developer.salesforce.com/docs/atlas.en-us.soql_sosl.meta/soql_sosl/sforce_api_calls_soql_changing_batch_size.htm
Can we configure that in the connection object's CallOptions? If not, is there any other way to do this?
Any update on this?
AFAIK this is not possible. JSForce uses the REST API and the docs linked in the ticket appear to only apply to the SOAP API
The query() or queryMore() are SOAP methods and can’t be used with REST API calls.