[xorm] Clean up xorm dialect & cascade (#61969)

clean up xorm dialect
This commit is contained in:
ying-jeanne
2023-01-24 19:57:33 +08:00
committed by GitHub
parent 18e0a060e6
commit ec171bcad5
5 changed files with 7 additions and 154 deletions
-2
View File
@@ -35,7 +35,6 @@ type Statement struct {
tableName string
RawSQL string
RawParams []interface{}
UseCascade bool
UseAutoJoin bool
StoreEngine string
Charset string
@@ -66,7 +65,6 @@ func (statement *Statement) Init() {
statement.Start = 0
statement.LimitN = nil
statement.OrderStr = ""
statement.UseCascade = true
statement.JoinStr = ""
statement.joinArgs = make([]interface{}, 0)
statement.GroupByStr = ""