O'Reilly logo

The Developer’s Guide to the Force.com Platform by Phil Choi, Andrew Fawcett, Glen Martin, Rick Greenwald

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Bulk data operations with Apex

The basic flow of data manipulation operations for Apex is illustrated in the figure below.

Figure 188. Data manipulation flow

Data is retrieved from an object in the Force Platform database with a query statement. The array of records is modified through the action of your Apex code, and then the array is sent back to the object through a data manipulation command.

These actions are performed in bulk on the Force Platform; however, there are limits to how many records can be affected by each stage of this operation. Since records are normally retrieved into a Force Platform collection, the number of records that ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required