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
ReddyReddy 

how to undelete the data using dml?

what is the merge statement in DML 
 
Best Answer chosen by Reddy
BALAJI CHBALAJI CH
Hi Reddy,

The undelete DML operation restores one or more existing sObject records, such as individual accounts or contacts, from your organization’s Recycle Bin. 

Please find below link for more information:
https://developer.salesforce.com/docs/atlas.en-us.apexcode.meta/apexcode/langCon_apex_dml_examples_undelete.htm
https://developer.salesforce.com/docs/atlas.en-us.apexcode.meta/apexcode/apex_dml_section.htm

Let us know if that helps you.

Best Regards,
BALAJI