Summary

In this chapter, you learned about interacting with Force Platform data through Apex. Triggers use implicitly called Apex code to automatically execute logical operations.

The Force Platform includes data access through SOQL, which retrieves fields from a base object and its related objects, and SOSL, which queries across all objects.

Once you have a collection of records, you use Apex statements to write data back to Force Platform objects. You should be aware of bulk limits on data operations and write your Apex code using best practices for working with those limits.

Get The Developer’s Guide to the Force.com Platform now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.