SOQL Lib
Get startedLightweight Selector Classes
Keep your selector classes minimal, focusing only on essential query configurations (fields, sharing settings) and generic methods (byId, byRecordType).

Build SOQL Inline with a Query Builder
Most queries are business-specific. Define them exactly where they’re needed using SOQL Lib’s builder, keeping the Selector class for only generic or reusable queries.

Full Control of FLS and Sharing
Easily enforce Field-Level Security and sharing rules using .systemMode(), .withSharing(), or .withoutSharing().

Mock SOQL for Faster Tests
Boost unit test performance by mocking SOQL results, reducing the need for complex test data setups.

Accelerate Performance with Cached Selectors
Store records in Apex transactions, Org Cache, or Session Cache, minimizing redundant queries for faster performance.

Enhanced SOQL Toolkit
Leverage a suite of predefined methods to simplify query results and reduce code complexity.
