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
Bhola VishwakarmaBhola Vishwakarma 

Invalid type database .saveresult

i have created database Dml class i was working fine but i just edited i gave me the error so that why pasted the previous code but now it gives me error  invalid type database.saveresult
 

Sandeep001Sandeep001

Can you paste your code here... which version of apex have you set?

bob_buzzardbob_buzzard

Given that database.saveresult is a valid type, it may be that you have a clash of names - do you have a custom class called Database?

Rashmi TyagiRashmi Tyagi
Thanks bob, it resolved my issue though I missed your solution at first, beacuse of multiple other errors :)

Thanks,
Rashmi