We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ed1b1d8 commit c868427Copy full SHA for c868427
1 file changed
src/classes/LeadQueryRepository.cls
@@ -1,5 +1,8 @@
1
public class LeadQueryRepository {
2
3
+ // Each SObject should have its own repository class that contains methods for commonly used queries
4
+ // Each method can use a different field set to generate the query fields,
5
+ // or you can use 1 field set for all methods - tweak the code to fit your use case
6
public static Lead getLeadById(Id leadId) {
7
// Created a string for your where clause
8
String whereClause = 'WHERE Id = :leadId';
0 commit comments