Skip to Main Content
Learning Force.com Application Development
book

Learning Force.com Application Development

by Chamil Madusanka
April 2015
Beginner content levelBeginner
406 pages
8h 50m
English
Packt Publishing
Content preview from Learning Force.com Application Development

Data manipulation on the Force.com platform

DML statements allow users to retrieve, insert, delete, and update sObject data in the Force.com database. Apex has a set of DML commands, as follows, which can take a single sObject or a list of sObjects:

  • insert: This command is used to add records to the particular Force.com database object. The ID is automatically generated for a record while executing this command.
  • update: This command is used to update fields of an existing record in the Force.com database object. The update is based on the ID of the particular record.
  • upsert; Based on the ID field, this command can either insert or update the particular records. If the record has a value for the ID field, then the record will be updated, and if the ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Mastering Application Development with Force.com

Mastering Application Development with Force.com

Kevin J. Poorman
The Developer’s Guide to the Force.com Platform

The Developer’s Guide to the Force.com Platform

Rick Greenwald, Glen Martin, Andrew Fawcett, Phil Choi

Publisher Resources

ISBN: 9781782172796Supplemental Content