Does anyone know why this query does not show the LastModifiedByName
and CreatedBy.Name
even though I am explicitly asking for it?
List <Report> result = [SELECT Name, CreatedDate, CreatedBy.Name, LastModifiedBy.Name FROM Report];
System.debug(result);
In the output (running execute anonymous window), I see everything except for these items. But if I were to run it in the query editor in the developer console, it works fine. Am I missing something here?
Any help is appreciated. Thanks.