[xorm] Remove unused functions from engine (#62590)

remove unuseful functions from engine
This commit is contained in:
ying-jeanne
2023-01-31 14:43:35 +00:00
committed by GitHub
parent 0dacb11a12
commit 6d4e8ec4d6
10 changed files with 57 additions and 1098 deletions
+5
View File
@@ -99,6 +99,11 @@ func (statement *Statement) Init() {
statement.lastError = nil
}
var (
ptrPkType = reflect.TypeOf(&core.PK{})
pkType = reflect.TypeOf(core.PK{})
)
// NoAutoCondition if you do not want convert bean's field as query condition, then use this function
func (statement *Statement) NoAutoCondition(no ...bool) *Statement {
statement.noAutoCondition = true