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