加入树节点功能

This commit is contained in:
2021-06-14 01:19:05 +08:00
parent 9ea6082d04
commit 9aa836a72c
2 changed files with 24 additions and 5 deletions
+2 -1
View File
@@ -649,7 +649,8 @@ func (that *HoTimeDB) varCond(k string, v interface{}) (string, []interface{}) {
where := ""
res := make([]interface{}, 0)
length := len(k)
if length > 4 {
if length > 0 && strings.Contains(k, "[") && k[length-1] == ']' {
def := false
switch Substr(k, length-3, 3) {