diff --git a/statement.go b/statement.go index 02c9f598..f0d3fb50 100644 --- a/statement.go +++ b/statement.go @@ -258,7 +258,7 @@ func buildUpdates(engine *Engine, table *core.Table, bean interface{}, if col.IsDeleted && !unscoped { continue } - if use, ok := columnMap[col.Name]; ok && !use { + if use, ok := columnMap[strings.ToLower(col.Name)]; ok && !use { continue }