We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9f39845 commit 140a4b2Copy full SHA for 140a4b2
1 file changed
src/classes/QueryGenerator.cls
@@ -17,15 +17,15 @@ public class QueryGenerator {
17
this.fieldSet = fieldSet;
18
this.sobjectResult = sobjectResult;
19
20
- this.sobjectType = fieldSet != null ? fieldSet.getSObjectType() : sobjectResult.getSobjectType();
+ this.sobjectType = fieldSet != null ? fieldSet.getSObjectType() : sobjectResult.getSObjectType();
21
this.queryFields = new Set<String>{'Id'};
22
23
if(this.fieldSet == null) this.parseSObjectFields();
24
else this.parseFieldSetMembers();
25
}
26
27
public String buildQuery() {
28
- return this.buildQuery('');
+ return this.buildQuery(null);
29
30
31
public String buildQuery(String whereClause) {
0 commit comments