Method In provides a update string
This commit is contained in:
parent
64e5181112
commit
e2aa0ef2c2
|
@ -344,7 +344,7 @@ func (engine *Engine) In(column string, args ...interface{}) *Session {
|
|||
return session.In(column, args...)
|
||||
}
|
||||
|
||||
// Method In provides a update string like "column = column + ?"
|
||||
// Method Inc provides a update string like "column = column + ?"
|
||||
func (engine *Engine) Inc(column string, arg interface{}) *Session {
|
||||
session := engine.NewSession()
|
||||
session.IsAutoClose = true
|
||||
|
|
Loading…
Reference in New Issue