Experience Salesforce

Empty Recycle Bin

What You’ll Learn

  • EmptyRecycleBin(List/sObject/List)

EmptyRecycleBin(List<ID>/sObject/List<sObject>)

It permanently deleted the record from recycle bin.

List < Account > accList = [SELECT Id FROM Account where isDeleted = true ALL ROWS];
Database.emptyRecycleBin(accList);

Salesforce certifications
Next Topic

Need Extra Support? Our FREE study materials have got you covered.

Our expert-prepared study materials provide the answers you need. Clear your doubts and improve your skills with detailed notes from industry professionals.

cts-img
Rakshabandhan Sale