You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 4, 2023. It is now read-only.
It's correct, the getSObjectFieldList method objective is list all fields from current SObject.
When you build your queries use getRelatedFieldListString('relationship_name'), to access parent fields, like this:
String query = String.format(
' SELECT {0},{1}' +
' FROM {2}' +
' WHERE Id IN :idSet' +
' ORDER BY {3}',
new List<String>{
getFieldListString(),
setInvestSelector.getRelatedFieldListString('Parent__r'),
getSObjectName(),
getOrderBy()
}
);
Having centralised SOQL Builders is of immensive use, but not being able to query parent fields limits its usage in enterprise apps very much
This doesn't even compile
This compiles but doesn't query the defined fields:
The text was updated successfully, but these errors were encountered: