Optionaloptions: Partial<{ bulkApiThreshold: number; chunkSize: number; useBulkApi: boolean }>Private ReadonlybulkPrivate ReadonlybulkPrivatefailedPrivate ReadonlyinsertPrivateisPrivate ReadonlyloggerPrivate ReadonlyoptionsMax 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)
PrivateprocessedPrivateprogressPrivaterecordPrivate ReadonlyschemaPrivate ReadonlyupdateOptionalref: stringOptionalref: stringOptionalref: stringOptionalonProgress: BatchProgressCallbackOptionalcancelToken: CancellationTokenPrivateexecuteOptionalcancelToken: CancellationTokenPrivateexecutePrivategetOptionalcount: numberPrivatereportPrivatevalidateValidate 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
Privateyield
Inserts and updates a set records and transparently selects either the collections or bulk API.