diff --git a/callbacks/helper.go b/callbacks/helper.go index 433ab346..0dd6ff43 100644 --- a/callbacks/helper.go +++ b/callbacks/helper.go @@ -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 {