Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ScanAliased didnt work #17

Open
Solution opened this issue May 24, 2020 · 1 comment
Open

ScanAliased didnt work #17

Solution opened this issue May 24, 2020 · 1 comment

Comments

@Solution
Copy link

Solution commented May 24, 2020

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.

@kisielk
Copy link
Owner

kisielk commented May 24, 2020 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants