Salesforce Fact #410 | Using NULL for boolean fields
For boolean fields, we generally use TRUE/FALSE during SOQL. But do you know that if we use NULL as the filter it is same as using FALSE.
However, during insert/update record we need to use FALSE explicitly, else we will get error.
Attached are the screenshots.
Comments
Post a Comment