Please sir, I want some more
As customers use the Salesforce1 Platform for more business purposes, their license count increases. An increase in license count means an increase in allotted storage, which will ultimately result in an increase in records. More records means more worrying about hitting an Apex governor limit. The @future annotation is a valuable tool to have in your coding arsenal, but it is still bound by limits. As we just saw, we can find clever ways of exceeding beyond these limits, but we can't operate on an unlimited amount of data.
Fortunately for us, and you, Apex includes a Database.Batchable interface that is designed to process very large data sets. It works by breaking up your large data set into smaller batches and treating ...
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.
Read now
Unlock full access