Add overloads for decimal values in getRecords and getRecordsNotIn (#77)

* Add overloads for decimal values in getRecords and getRecordsNotIn

* updated readme file

* Add compatibility for multiselect picklists for the `getRecords` method
This commit is contained in:
William Velzeboer
2026-01-22 11:47:51 +00:00
committed by GitHub
parent e986a25180
commit 09f0c2ef0d
3 changed files with 83 additions and 3 deletions
@@ -124,7 +124,9 @@ private class fflib_SObjects2Test
domain.getIdFieldValues(Account.Id, criteria);
domain.getRecords(Account.Id, domain.getFirstSObject().Id);
domain.getRecords(Account.Name, 'A');
domain.getRecords(Account.AnnualRevenue, 1.0);
domain.getRecordsIsNot(Account.Name, 'A');
domain.getRecordsIsNot(Account.AnnualRevenue, 1.0);
domain.getRecordsIsNot(Account.Id, domain.getFirstSObject().Id);
domain.getSObjectByIdField(Account.Id);
domain.getIdFieldValues(Account.Id, true);