Optional
options: Partial<{ Private
Readonly
bulkPrivate
Readonly
bulkPrivate
failedPrivate
Readonly
insertPrivate
isPrivate
Readonly
loggerPrivate
Readonly
optionsMax chunk size when using the collections API only; if using bulk API once
Allow the use of the bulk API when the record count is larger then the bulk API threshold (chunkSize)
Private
processedPrivate
progressPrivate
recordPrivate
Readonly
schemaPrivate
Readonly
updateReturns the number of records in this batch
Optional
ref: stringOptional
ref: stringOptional
ref: stringOptional
onProgress: BatchProgressCallbackOptional
cancelToken: CancellationTokenPrivate
executeOptional
cancelToken: CancellationTokenPrivate
executeOptional
cancelToken: CancellationTokenPrivate
getOptional
count: numberPrivate
reportPrivate
validateValidate if the specified record data can be inserted; if not drop any fields that cannot be inserted or updated depending on the mode property specified.
SObject type
Values of the record
Check for update or insert
Private
yield
Inserts and updates a set records and transparently selects either the collections or bulk API.