Fix select with *

This commit is contained in:
Jinzhu 2020-03-23 22:40:12 +08:00
parent 477efab8cd
commit 3a126233bf
1 changed files with 1 additions and 1 deletions

View File

@ -17,7 +17,7 @@ func SelectAndOmitColumns(stmt *gorm.Statement) (map[string]bool, bool) {
for _, dbName := range stmt.Schema.DBNames {
results[dbName] = true
}
return results, true
break
}
if field := stmt.Schema.LookUpField(column); field != nil {