Salesforce Object Query Language (SOQL) includes changes to limits and calls
- Use longer SOQL queries
- The maximum length of SOQL statements has been increased from 20,000 to 100,000.
- Use more relationships in queries
- The maximum number of child-to-parent relationships in a query has been increased from 35 to 55.
- Select items based on visibility
- Use the new RecordVisibilityContext clause to filter WITH queries.