reset statment

This commit is contained in:
Lunny Xiao 2018-09-18 15:20:16 +08:00
parent 769cc16b06
commit c16ca27799
No known key found for this signature in database
GPG Key ID: C3B7C91B632F738A
1 changed files with 1 additions and 0 deletions

View File

@ -100,6 +100,7 @@ func (statement *Statement) Init() {
statement.exprColumns = make(map[string]exprParam)
statement.cond = builder.NewCond()
statement.bufferSize = 0
statement.enableContextCache = false
}
// NoAutoCondition if you do not want convert bean's field as query condition, then use this function