Skip to content

Commit c868427

Browse files
committed
Added another comment to LeadQueryRepository.cls
1 parent ed1b1d8 commit c868427

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

src/classes/LeadQueryRepository.cls

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
public class LeadQueryRepository {
22

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
36
public static Lead getLeadById(Id leadId) {
47
// Created a string for your where clause
58
String whereClause = 'WHERE Id = :leadId';

0 commit comments

Comments
 (0)