Newer Version Available

This content describes an older version of this product. View Latest

Improve Performance by Avoiding Null Values

In your SOQL and SOSL queries, explicitly filtering out null values in the WHERE clause allows Salesforce to improve query performance. In the following example, any records where the Thread__c value is null are eliminated from the search.