v3.0 - New Major Release
Pre-release
Pre-release
There are now 3 builder classes (SobjectQueryBuilder, AggregateQueryBuilder & SearchBuilder) and 2 abstract classes (Soql & Sosl). This seems to be a good balance between keeping the library relatively small (5 classes + test classes) while still keeping everything structured & scalable.
SobjectQueryBuilder | AggregateQueryBuilder | SearchBuilder | |
---|---|---|---|
Super Class | Soql.cls (Queries) | Soql.cls (Queries) | Sosl.cls (Searches) |
Action | Queries an Sobject | Queries an Sobject | Searches 1 or more Sobjects |
Returns | Sobject or List<Sobject> |
AggregateResult or List<AggregateResult> |
Sobject , List<Sobject> or List<List<Sobject>> |