Quantcast
Channel: SCN: Message List - SAP HANA Developer Center
Viewing all articles
Browse latest Browse all 9165

Re: COUNT method in oData aggregation?

$
0
0

Ok I figured out a work around from this post: XSODATA IS NOT WORKING  WITH 'COUNT' AGGRE... | SCN

 

Now to get the number of users I query URL  ....xsodata/users?$select=USER_ID&$inlinecount=allpages&$top=1&$format=json, then get the __count value from d.results

To get number of subscribers, I use regular oData URL ..xsodata/users?$select=CNT_SUBSCRIBERS

 

I expect one query to get both number, now I have to use two....


Viewing all articles
Browse latest Browse all 9165

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>