forked from mirror/gorm
Remove uncessary switch case
This commit is contained in:
parent
4eeb839cea
commit
df2365057b
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue