function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Sombir PalitSombir Palit 

Single record list update bulk api or not?

Would there be a difference in internal processing of the DML when we do an update/insert operation on a single object reference vs a list containing a single object only? I'm aware that if the list has more than one record, it invokes bulk api.
NagaNaga (Salesforce Developers) 
Dear Sombir,

What you said is right... Bulk Api is used when there are multiple records that need to be processed.
Bulk API is based on REST principles and is optimized for loading or deleting large sets of data. You can use it to query, insert, update, upsert, or delete a large number of records asynchronously by submitting batches which are processed in the background by Salesforce.

I see that its a single object with multiple records, so it should be bulk API.

Best Regards
Naga Kiran