0
 Followers
3
 Likes

Having Input Variables and Conditions to select a table in an aggregate

Aggregates & Queries
On our radar

Hi all!

Introduce input values in an aggregate with a certain type, so that it is possible to introduce both variables and aggregates of different types in the sql query, in a generic way, ie, being able to put conditions in the source tab to choose which table to use, instead of having multiple flows to perform the same sql query.

imagine so, can insert a condition in "Source" such as:

if(condition){

User

}

else{

(Other Table)

}


Instead of:

what do you think?


 Capture.PNG
Created on 21 Dec 2017
Comments (2)

Hi,


I cannot see the advantage but only to hide the logic inside the aggregate.

I prefer the instead of, because it's more visible

instead of its ineficient too, if you have much agreggates

views
184
Followers
0