Monthly Archives: January 2020

Custom settings in Salesforce

What is custom setting? Custom setting is also used to store the data, but the data which is stored here can be retrieved without writing a soql query. As if we retrived data without writing soql query then performance will be faster They are 2 types of custom settings, they are :- List custom setting… Read More »

Share this...
Share on Facebook
Facebook
Email this to someone
email

DML in Salesforce

DML stands for Data Manipulation Language. Where we want to manipulate the data in the sObject we will use Dml. Types of DML operations INSERT UPDATE UPSERT DELETE UNDELETE MERGE Dml can be performed in 2 formats 1. Using  keywords (insert,update,delete,undelete,merge,upsert)(used as for Atomic operation) 2. Using predefined apex class database. (used as for Atomic… Read More »

Share this...
Share on Facebook
Facebook
Email this to someone
email

Fetch all the records from Object And Hard Delete the records using Batch Apex

Hi, here we have shown, how to Fetch all the records from Custom Object And Hard Delete the records(Hard Delete means delete from Recycle bin Also) using Batch Apex. Apex Controller Output For this output, open debug anonymous window and write below code Building _Delete bd = new Building _Delete (); Database.executeBatch(bd); Share this…Facebookemail

Share this...
Share on Facebook
Facebook
Email this to someone
email