1
 Follower
5
 Likes

Add warning when using aggregates results that were not executed

Aggregates & Queries
On our radar

Hi,

As I currently discovered the aggregate is “created“ at the beginning of the action. So, the "result" is available even before it is executed or even if it is never executed. It will just be empty if you try to use, as it was not executed. 

It can lead to undesired behavior if accidentally assign aggregate result in the wrong scope... It would be helpful to have a warning for such situation that the result of the aggregate will not yet be available.

Created on 17 Jul
Comments (2)

Changed the category to Aggregates & Queries and the status to

On our radar


Thanks Mykola,

 We already don't show this on suggestions but it might make sense to have a warning! 

And the same for SQL of course.

views
49
Followers
1