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
Soundhariyaa MSoundhariyaa M 

How to represent Database.upsertResult and Database.saveResult generally

Hi,

We use List<sObject> to generally represent a list of all Objects.

Can we use List<sObject> for Database.upsertResult and Database.saveResult or do we have any other general representation?

Thanks & Regards,
Soundhariyaa

 

Sai PraveenSai Praveen (Salesforce Developers) 
Hi Soundhariyya,

Can you confirm what do you meant by represent. Do you mean what parameter does those accept. Can you clarify more on this.

Thanks,