Categories
Appunti

Delete all data from custom setting object

List<nameOfCustomeSetting__c
> rs = [SELECT Id FROM nameOfCustomeSetting__c
];
delete rs;

Leave a Reply