Is there a nice and easy way to go through a query...
# exposed
e
Is there a nice and easy way to go through a query and make sure there are no duplicated table names in there?
j
@Endre Deak can you give me a bit of an example? The DSL is a pretty WYISWYG wrapper on SQL, in that if you add something in Kotlin, you'll see some artifact of it in SQL.
e
@Joel yeah. I’m working on a query transformer and there are cases when the same table / column is used multiple times and I thought I can avoid collision by calling the non-existing magical
query.resolveDuplicateAliases()
method. But in the meantime I figured out I can deal with it in an earlier stage of my model transformation.
👍 1