Polling timeout in milliseconds
Default: 30000 (30 seconds)
Create an instance of an ingest job object.
An ingest job instance
options object
// Upsert records to the Account object.
const job = connection.bulk2.createJob({
operation: 'insert'
object: 'Account',
});
// create the job in the org
await job.open()
// upload data
await job.uploadData(csvFile)
// finished uploading data, mark it as ready for processing
await job.close()
Get an ingest or query job instance specified by a given job ID
Options object with a job ID
IngestJobV2 An ingest job
Create, upload, and start bulkload job
Execute bulk query and get a record stream.
Default timeout: 10000ms
SOQL query
Optional
options: Partial<BulkV2PollingOptions> & {
Polling interval in milliseconds
Default: 1000 (1 second)