Salesforce Fact #224 | AND OR in same SOQL

Whenever we are using both AND & OR operator in SOQL, we should always ensure proper parenthesis is in place to define the priority. But do not worry if you forget to include parenthesis, you would get error be it in Developer console or be it in apex class.

Attached are the screenshots.





Comments

Popular posts from this blog

Salesforce Fact #192 | Call batch apex from flow

Salesforce Fact #457 | Get current user role name in flow