fix 5530: use orm.DebugLog (#5532)

* fix 5500: querySet should not be changed when constructing SQL

* fix 5530: use orm.DebugLog
This commit is contained in:
Ming Deng
2023-11-27 23:43:59 +08:00
committed by GitHub
parent e4b67e86ee
commit 95a8a61d2b
12 changed files with 23 additions and 45 deletions

View File

@@ -20,8 +20,6 @@ import (
"reflect"
"strings"
"time"
"github.com/beego/beego/v2/client/orm/internal/logs"
)
// 1 is attr
@@ -252,8 +250,6 @@ func ParseStructTag(data string) (attrs map[string]bool, tags map[string]string)
v = v[i+1 : len(v)-1]
tags[name] = v
}
} else {
logs.DebugLog.Println("unsupport orm tag", v)
}
}
return