Fix select with *
This commit is contained in:
parent
477efab8cd
commit
3a126233bf
@ -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 {
|
||||
|
Loading…
x
Reference in New Issue
Block a user