Remove unnecessary else
This commit is contained in:
parent
080ffa9f8e
commit
fa4e15e3ae
|
@ -214,7 +214,8 @@ func quoteTo(buf *strings.Builder, quotePair string, value string) {
|
|||
if len(quotePair) < 2 { // no quote
|
||||
_, _ = buf.WriteString(value)
|
||||
return
|
||||
} else {
|
||||
}
|
||||
|
||||
prefix, suffix := quotePair[0], quotePair[1]
|
||||
|
||||
i := 0
|
||||
|
@ -248,7 +249,6 @@ func quoteTo(buf *strings.Builder, quotePair string, value string) {
|
|||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
func (engine *Engine) quote(sql string) string {
|
||||
return engine.dialect.Quote(sql)
|
||||
|
|
Loading…
Reference in New Issue