You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
//edit: ok, i did a little debug and here's the final result is, the problem is with the oracle db, automatically converts all fields to UPPERCASE, so when it try to replace the alias part it's without effect.
The text was updated successfully, but these errors were encountered:
On May 24, 2020, at 13:39, Patrik Tomášik ***@***.***> wrote:
Hi there,
i think there's a bug in here: https://github.com/kisielk/sqlstruct/blob/master/sqlstruct.go#L233
When you used aliasedColumn and than scanAliased, this method build fields map without alias and it's no longer able to pair the cols of result. So the method getFieldInfo should consider alias too.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.
Hi there,
i think there's a bug in here: https://github.com/kisielk/sqlstruct/blob/master/sqlstruct.go#L233
When you used aliasedColumn and than scanAliased.
//edit: ok, i did a little debug and here's the final result is, the problem is with the oracle db, automatically converts all fields to UPPERCASE, so when it try to replace the alias part it's without effect.
The text was updated successfully, but these errors were encountered: