This commit is contained in:
parent
d0c374f34e
commit
d7d7227ad8
2
db.go
2
db.go
@ -632,7 +632,7 @@ func (this *HoTimeDB) varCond(k string, v interface{}) (string, []interface{}) {
|
||||
where += "`" + k + "` LIKE ? "
|
||||
v = "%" + ObjToStr(v)
|
||||
res = append(res, v)
|
||||
case "[!~]"://右边任意
|
||||
case "[~!]"://右边任意
|
||||
k = strings.Replace(k, "[~]", "", -1)
|
||||
where += "`" + k + "` LIKE ? "
|
||||
v = ObjToStr(v) +"%"
|
||||
|
Loading…
Reference in New Issue
Block a user