v2.0.1
27-June-2023
Changes
Use Iterable Set
Based on Summer '23 the Set class now implements the Iterable interface.
Iterable was used as a supertype for List and Set.
custom LIKE
https://soql-lib.vercel.app/api/soql-filter#contains
You can specify custom contains with -
and %
.
SOQL.Filter.with(Account.Name).contains('_', 'My', '%')
of(String)
https://soql-lib.vercel.app/api/soql#of
You can create instance of SOQL dynamically.
SOQL of(String ofObject)
String ofObject = 'Account';
SOQL.of(ofObject).toList();
toField - null pointer check
https://soql-lib.vercel.app/api/soql#tofield
For null record .toField
method will return null value.
Code Refactoring
Unused lines of code were removed.