Apex Basics & Database | Manipulate Records with DML

Опубликовано: 01 Март 2026
на канале: TrailheadWorld
365
4

Use Apex to add business logic and manipulate your data in Salesforce.
Use DML to insert, update, and delete records.
Perform DML statements in bulk.
Use upsert to either insert or update a record.
Catch a DML Exception.
Use a Database method to insert new records with the partial success option and process the results.
Know when to use DML statements and when to use Database methods.
Perform DML operations on related records.
DML Statements

The following DML statements are available.

insert
update
upsert
delete
undelete
merge

Database Methods
Database.insert()
Database.update()
Database.upsert()
Database.delete()
Database.undelete()
Database.merge()


Resources
Apex Developer Guide
Apex Developer Guide: Working with Data in Apex
Apex Developer Guide: Adding and Retrieving Data With DML
Apex Developer Guide: Database Class

Trailhead Link -https://trailhead.salesforce.com/cont...
Apex Basics & Database: https://trailhead.salesforce.com/cont...
Manipulate Records with DML: https://trailhead.salesforce.com/cont...
#developer #coading #trailhead #trending #trailhead_solutions #trailheadworld #viral #salesforce ‪@trailheadworld‬ ‪@trailhead‬ ‪@salesforce‬ ‪@SalesforceDevs‬ ‪@apexhours‬ ‪@SalesforceAdmins‬
linkedin ID-   / trailheadworld-ba2aa0250  
Instagram ID-   / trailheadworld