jsforce icon indicating copy to clipboard operation
jsforce copied to clipboard

Lowering the Batch Size

Open vb-vasudev opened this issue 8 years ago • 2 comments

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?

vb-vasudev avatar Aug 02 '17 17:08 vb-vasudev

Any update on this?

dicksonstephen avatar Aug 17 '21 17:08 dicksonstephen

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.

paustint avatar Aug 20 '21 13:08 paustint