results for SELECT with a TYPEOF only show id/name columns
Closed this issue · 1 comments
superfell commented
Run a query using typeof, e.g.
SELECT subject,TYPEOF what WHEN account Then id,BillingCity when opportunity then name,nextStep else id,name end from Task
the results only shows the What.Id & What.Name columns, the additional columns from the typeOf clause aren't displayed.
superfell commented
this is an issue with the code that extracts column names from the results. It assumes that related sobjects are all the same type