It permanently deleted the record from recycle bin.
List < Account > accList = [SELECT Id FROM Account where isDeleted = true ALL ROWS]; Database.emptyRecycleBin(accList);
What You’ll Learn
Empty Recycle Bin method in Database class
Hey there! Glad you made it through our Salesforce Developer Training for beginners . But wait! We've got some high-in-demand Salesforce courses for you to take your Salesforce skills to the next level, making you a desired professional in the Salesforce job market.
detemine the perfect
Salesforce profile for yourself.
Get Your Assignment Now