We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 140a4b2 commit 90307d8Copy full SHA for 90307d8
1 file changed
src/classes/QueryGenerator.cls
@@ -18,7 +18,7 @@ public class QueryGenerator {
18
this.sobjectResult = sobjectResult;
19
20
this.sobjectType = fieldSet != null ? fieldSet.getSObjectType() : sobjectResult.getSObjectType();
21
- this.queryFields = new Set<String>{'Id'};
+ this.queryFields = new Set<String>{'Id'}; // Always add the ID field, just in case it's not in the field set
22
23
if(this.fieldSet == null) this.parseSObjectFields();
24
else this.parseFieldSetMembers();
0 commit comments