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 »

SOQL in salesforce

What is SOQL? SOQL means Salesforce Object Query Language. It is used to query the data (or) retrieve the data. We can also retrieve corresponding parent/child records. It will return the result in the form of List<sobject> / map<id, sobject>. SOQL can return 50,000 records at max. QUERY :- Query is a statement written to… Read More »

Cron Trigger in Salesforce

Any job that is scheduled in the salesforce will be registered or CronTrigger object (which is available from version 17 and later). If you want to know the status of the job, we can write a SOQL on CronTrigger object using jobid generated by system.schedule( ) method invocation. Syntax: cronTrigger cron = [select id,cronExpression from… Read More »

Batch Apex in Salesforce

What is Batch Apex? Batch Apex If we want to process large number of records on daily basis or nightly basis, or specific time of interval then there is a possibility of encountering governing limits. To resolve the governing limits issue, we will run the operation as asynchronous operation using batch apex. Batch apex will… Read More »