Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Book Overview & Buying Learning Force.com Application Development
  • Table Of Contents Toc
  • Feedback & Rating feedback
Learning Force.com Application Development

Learning Force.com Application Development

By : Madusanka
4.3 (4)
close
Learning Force.com Application Development

Learning Force.com Application Development

4.3 (4)
By: Madusanka

Overview of this book

If you are a developer who wants to learn how to develop and deploy applications from the Salesforce.com platform, then this book is for you. No prior knowledge of Salesforce is necessary.
Table of Contents (15 chapters)
close
14
Index

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 record doesn't have a value for the ID field, the record will be inserted.

  • delete: This command is used to delete records from the Force.com database based on the ID of the record. If any record is adhered to cascade deleting (such as a master-detail...

Unlock full access

Continue reading for free

A Packt free trial gives you instant online access to our library of over 7000 practical eBooks and videos, constantly updated with the latest in tech
bookmark search playlist font-size

Change the font size

margin-width

Change margin width

day-mode

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Delete Bookmark

Modal Close icon
Are you sure you want to delete it?
Cancel
Yes, Delete