function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Jayant DasJayant Das 

No such column 'SymbolTable' on entity 'ApexClass'

Getting the error when using the field in a SOQL query in Developer Console or Workbench. This works fine from a Java Client and Tooling API WSDL. Has someone encountered a similar problem and is aware of the resolution?
select Id, Name, SymbolTable from ApexClass

Any help on this is really appreciated.
ShashForceShashForce
Hi,

SymbolTable is only available through the Metadata and Tooling APIs.

Thanks,
Shashank
Jayant DasJayant Das
Hi Shashank,

Is this documented somewhere? Any pointers on this will be of great help. My understanding was that the SOQL passed through any WS Client will be executed on the force.com servers and thus the field should be generally available from developer console or workbench.

Thanks,
Jayant
ShashForceShashForce
I could not find it documented anywhere, but SymbolTable is metadata. Not all metadata is accessible through SOQL within developer console or workbench, but only through the API.