Open rukor opened 7 years ago
In order to be able to run the transform, two queries are executed:
(dry-run
(select table2
(fields :id)
(with table1
(fields :field2))))
dry run :: SELECT "table2"."id" FROM "table2" :: []
dry run :: SELECT "table1"."field2" FROM "table1" WHERE ("table1"."id" = ?) :: [1]
=> ({:id_2 1, :table1-id 1, :id 1})
I'm going through old issues and trying to clean them up. Has this issue persisted?
If there hasn't been a response to this issue in 2 weeks, I'll close the ticket.
If i have a transform in a foreign table then it doesnt include it in the joins for the query:
Lets say I have:
I get this:
Whereas, if I remove the transform, I get