xormplus 9 gadi atpakaļ
vecāks
revīzija
2d2177b855
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1 1
      statement.go

+ 1 - 1
statement.go

@@ -258,7 +258,7 @@ func buildUpdates(engine *Engine, table *core.Table, bean interface{},
 		if col.IsDeleted && !unscoped {
 		if col.IsDeleted && !unscoped {
 			continue
 			continue
 		}
 		}
-		if use, ok := columnMap[col.Name]; ok && !use {
+		if use, ok := columnMap[strings.ToLower(col.Name)]; ok && !use {
 			continue
 			continue
 		}
 		}