Upgrade xorm to v1.1.0 (#15869)
This commit is contained in:
parent
e2f39c2b64
commit
f6be429781
55 changed files with 1309 additions and 438 deletions
1
vendor/xorm.io/xorm/internal/utils/sql.go
generated
vendored
1
vendor/xorm.io/xorm/internal/utils/sql.go
generated
vendored
|
@ -8,6 +8,7 @@ import (
|
|||
"strings"
|
||||
)
|
||||
|
||||
// IsSubQuery returns true if it contains a sub query
|
||||
func IsSubQuery(tbName string) bool {
|
||||
const selStr = "select"
|
||||
if len(tbName) <= len(selStr)+1 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue