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

Exposing Struct Field/Column Name Mappings? #93

Open
BourgeoisBear opened this issue Jun 11, 2020 · 0 comments
Open

Exposing Struct Field/Column Name Mappings? #93

BourgeoisBear opened this issue Jun 11, 2020 · 0 comments

Comments

@BourgeoisBear
Copy link

I've found the ability to determine DB column names from model structs helpful, but the code that handles this is not exported. @qiangxue, would you accept a pull request adding a function to walk a model struct and return the DB column names for each mapped field?

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

1 participant