SOQL articles
34 articles · Query syntax, operators, filtering and the limits that bound a query.
Salesforce Winter '27 Developer Architecture Guide
Winter '27 raises the Apex heap ceilings to 10 MB and 25 MB and adds native live integration tests in scratch orgs....
Salesforce Winter '27 Developer Features: Apex, LWC, AI
Winter '27 raises the Apex heap limits, lets integration tests make real HTTP callouts, and opens LWC templates to...
Salesforce Data Skew: Remediation Strategies
Prevention is the other article. This is for the org you inherited: how to find account, ownership, and lookup skew...
SOQL LIKE with Wildcards: In-Between Word Matching
The SOQL LIKE operator with wildcards finds text that sits between two specific words in your Salesforce data. This...
Build Salesforce AI Agent with LangChain, Groq
Build a conversational AI agent that turns plain English into SOQL queries against your Salesforce org, using...
SOQL: The Complete Guide to Salesforce Object Query Language
SOQL is the SQL-flavored query language Salesforce ships for reading data. This pillar page covers every operator,...
SOQL CONTAINS vs LIKE vs INCLUDES: When to Use Each Operator
SOQL has no CONTAINS keyword. Most queries reaching for one want LIKE with wildcards, or INCLUDES for a multi-select...
SOQL NOT IN, NOT EQUAL & NOT LIKE: Exclusion Patterns Explained
Three ways to exclude records in SOQL: NOT IN with subqueries, != / <> for direct comparison, and NOT LIKE for pattern...
SOQL ORDER BY: Sort, NULLS FIRST/LAST & Multi-Column Examples
Every SOQL ORDER BY pattern in one place, from ASC/DESC and multi-column priority to NULLS FIRST vs NULLS LAST, sorting...
Formula Field in SOQL WHERE Clause: Best Practices
Filtering a SOQL WHERE clause on a formula field works, but the value is calculated per record and can never be...
Permission Set Assignment: Exporting Data Outside Salesforce
How to query PermissionSetAssignment records in SOQL and move them to an external system with the REST API or Bulk API...
SOQL Returns Old Value After UI Update
A Salesforce UI edit looks committed, and then an Apex SOQL query reads the old value back. The mismatch between the UI...