Quantcast
Channel: OutSystems Community
Viewing all articles
Browse latest Browse all 1476385

[Forums] Using Aggregate to get only the count

$
0
0
Hi guys,

so, here in my company we are having a small discussion regarding Aggregates and counts.

Imagine that you have an action with an Aggregate and an assign that gets the Aggregate.Count property only. And you don't use any retrieved data.

Will the Aggregate do 2 queries (one to get the data, other to get the count) or will it be clever enough to know that it just needs to query the count ?

I know for sure that back in Simple Queries it would do 2 queries anyway, just don't know if there were any improvments on this for Aggregates.

Do you guys know?

Thanks,

Nelson

Viewing all articles
Browse latest Browse all 1476385

Trending Articles



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