Chapter 5. Limitations and Best Practices

In this chapter, we will take a look at the standards and best practices to be followed by an administrator or a developer while writing SOQL statements during development and administration tasks. We will also cover the limitations that should be considered while writing the SOQL statements.

Salesforce has set many limitations as all the Apex code runs on the Apex engine. Apex is an object-oriented programming language that allows the Salesforce developers to execute flow and transaction control statements on the platform. So, whenever we write the SOQL statements, we should make sure that we do not hit the limitations set by Salesforce. All the limitations will be explained in detail.

We will ...

Get Getting Started with SOQL now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.