Everything you need to build SOQL queries in Salesforce APEX.
The SOQL Lib provides functional constructs for SOQL queries in Apex.
Build SOQL queries dynamically with fluent API. No more string concatenation or massive selector classes with hundreds of methods.
Cache records in Apex transactions, Session Cache, or Org Cache for dramatic performance improvements.
Enforce field-level security and sharing rules with WITH USER_MODE, WITH SYSTEM_MODE, and sharing settings by default.
Mock SOQL results in unit tests without complex test data setup. Perfect for external objects and custom metadata.
Transform query results easily with built-in methods: toMap(), toIds(), toValuesOf(), and many more powerful utilities.
Keep selector classes minimal and focused. Define business-specific queries inline where they're needed.