We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
资询个问题: mysql 表字字段是大写, 比如 COL_NAME 结构定义为 type def struct{ ColName string `db:"col_name"` } 这样查询是空的,大小写不匹配, 有没有类似这样 `db:"col_name";lowercase:true`用法?
The text was updated successfully, but these errors were encountered:
试试
type def struct{ ColName string `db:"COL_NAME"` }
Sorry, something went wrong.
这样是肯定可以的 那可能是 严格区分大小写吧,我是看到gorm 有这一项,所以资询一下
No branches or pull requests
The text was updated successfully, but these errors were encountered: