ballerina-platform/ballerina-library

[Salesforce client] Support for pagination/chunking

Closed this issue · 0 comments

Description:
$title, at least for Bulk API 2.0 operations.

Seems to be possible via Sforce-Locator https://developer.salesforce.com/docs/atlas.en-us.api_asynch.meta/api_asynch/query_get_job_results.htm

Also see PK chunking - https://developer.salesforce.com/docs/atlas.en-us.api_asynch.meta/api_asynch/async_api_headers_enable_pk_chunking.htm (link is under Bulk API though)

Also, see "Chunking Query Jobs" in https://developer.salesforce.com/docs/atlas.en-us.api_asynch.meta/api_asynch/queries.htm. v2 seems to be handling chunking by default if the object supports it, but how do we retrieve the data in chunks in the Ballerina code?