Are there some difference in usage between
TableAlias? While the former is working fine (but marked as obsolete), the latter does not create well formed
ON clauses like:
INNER JOIN "LRDREPARTI" AS "reparto" ON ("LRARICHIESTE"."DREPARTOID" = "reparto"."IDDREPARTO")
INNER JOIN "LRDREPARTI" AS "reparto" ON ("LRARICHIESTE"."DREPARTOID" = "LRDREPARTI"."IDDREPARTO")
When changing from JoinAlias to TableAlias I'd just replaced the old function with the new. Should I do something different?
TableAlias() is the replacement for
JoinAlias() which uses a different impl that substitutes the alias whilst walking the expression tree whilst generating SQL Statements whereas
JoinAlias() worked by post string substitution on the generated SQL and therefore was more fragile.
Yeah you should only need to replace
.From() methods. Can you provide the typed SQL Expression you're using?