diff --git a/statement.go b/statement.go index 72359da29..232126426 100644 --- a/statement.go +++ b/statement.go @@ -179,10 +179,6 @@ func (stmt *Statement) AddVar(writer clause.Writer, vars ...interface{}) { } else { stmt.AddVar(writer, v.GormValue(stmt.Context, stmt.DB)) } - case clause.Expr: - v.Build(stmt) - case *clause.Expr: - v.Build(stmt) case clause.Expression: v.Build(stmt) case driver.Valuer: