Closed mmkal closed 3 years ago
Thanks for the bug report! The output should be identical between the two dialects. The MySQL output is the expected behaviour.
I'll have a fix for this available shortly.
This has been fixed in 1.2.2.
Both MySQL and PL/pgSQL now output:
outputColumns: [
OutputColumn {
columnName: 'f.id',
columnAlias: null,
tableName: 'foo',
tableAlias: 'f'
}
],
Thanks again for reporting!
Wow that was fast! I'll try it out!
Related to #1 but thought I'd make a separate issue:
PLpgSQL treats aliases differently from MYSQL (and the MYSQL way seems more correct - if this is expected behaviour, I couldn't find it in the docs):
Another difference (noted in #1):