Skip to content

ScanAliased didnt work #17

Open
Open
@Solution

Description

@Solution

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions