amtrack / force-dev-tool

[DEPRECATED] Command line tool supporting the Force.com development lifecycle
MIT License
108 stars 37 forks source link

sObject type 'ApexCodeCoverageAggregate' is not supported. #109

Closed nithyusha23 closed 6 years ago

nithyusha23 commented 6 years ago

I tried to execute following query and got below error. How to enable tooling? $ force-dev-tool query "Select id,ApexClassorTrigger.Name,NumLinesCovered,NumLinesUncovered from ApexCodeCoverageAggregate" INVALID_TYPE: sObject type 'ApexCodeCoverageAggregate' is not supported.

nithyusha23 commented 6 years ago

I got it. $ force-dev-tool query "Select id,ApexClassorTrigger.Name,NumLinesCovered,NumLinesUncovered from ApexCodeCoverageAggregate" --tooling

Thanks