mirror of
https://gitee.com/gitea/gitea
synced 2025-12-14 12:10:25 +08:00
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 {
|
||||
|
||||
Reference in New Issue
Block a user