We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 2857bd7 + e48a9d5 commit d71a018Copy full SHA for d71a018
fflib-sample-code/src/classes/AccountsSelector.cls
@@ -32,7 +32,7 @@ public with sharing class AccountsSelector extends fflib_SObjectSelector
32
{
33
public static IAccountsSelector newInstance()
34
35
- return (IAccountsSelector) Application.Selector.newInstance(Opportunity.SObjectType);
+ return (IAccountsSelector) Application.Selector.newInstance(Account.SObjectType);
36
}
37
38
public List<Schema.SObjectField> getSObjectFieldList()
@@ -63,4 +63,4 @@ public with sharing class AccountsSelector extends fflib_SObjectSelector
63
accountIds.add(opp.AccountId);
64
return selectById(accountIds);
65
66
-}
+}
0 commit comments