Q: How can I alias a column in SOQL for an object that doesn't support field aggregates? We want to alias the count() value in a SOQL query for FeedItem however it seems that column naming can only be done when a field is present in count().
Select count() from FeedItem works fine, but we want Select count() record_count from FeedItem. When we try with Select count(Id) record_count from FeedItem we get a Malformed Query error. This is apparently because all fields on FeedItem are aggretable: false.
We thought we would be able to acquire expr0 as an alternative but apparently that isn't returned when results are provided through the Rest API.
