Salesforce Free Developer >

Chapter 6 - Apex DML and Database Methods >

Apex DML Basics

Apex DML Basics

DML stands for Data Manipulation Language and it enables you to:

  • Insert new records in Salesforce
  • Update existing records
  • Upsert records
  • Delete records from the database
  • Undelete or restore records from the recycle bin

 

DML Standalone Statements:

  • Standalone DML statements can be used to perform DML operations. But if even a single record errors out in the entire list of records then the entire operation is rollbacked.

Syntax: insert sObject or list of sObjects

update

delete

upsert

undelete 

 

Download Study Material

Get access to exclusive study material for Salesforce Certification and ace your exams!

Our Salesforce Certification Courses

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.

Post a Comment

Your email address will not be published. Required fields are marked *