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
type RecordInfo struct { Name string } xx.DB.Table("record_info").Find(&recordInfo, &search)
wanted sql
select * from record_info where record_info.name = "a"
but terminal print
select * from record_info where record_infos.name = "a"
https://github.com/go-gorm/gorm/blob/master/schema/schema.go#L97 the Parse not use the tableName
Parse
The text was updated successfully, but these errors were encountered:
This issue has been automatically marked as stale as it missing playground pull request link, checkout https://github.com/go-gorm/playground for details, it will be closed in 2 days if no further activity occurs. if you are asking question, please use the Question template, most likely your question already answered https://github.com/go-gorm/gorm/issues or described in the document https://gorm.io ✨ Search Before Asking ✨
Question
Sorry, something went wrong.
3cd81ff
Fix query with specified table and conditions, close go-gorm#3382
dbbe1d9
jinzhu
No branches or pull requests
Description
wanted sql
but terminal print
https://github.com/go-gorm/gorm/blob/master/schema/schema.go#L97
the
Parse
not use the tableNameThe text was updated successfully, but these errors were encountered: