Fix typo

Co-authored-by: Masataka Hisasue <masataka.hisasue@optim.co.jp>
Reviewed-on: https://gitea.com/xorm/xorm/pulls/1748
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com>
This commit is contained in:
sylba2050 2020-07-27 09:29:33 +00:00 committed by Lunny Xiao
parent fe3bc3851e
commit 4a6b8c29bf
1 changed files with 2 additions and 2 deletions

View File

@ -313,7 +313,7 @@ err := engine.Where(builder.NotIn("a", 1, 2).And(builder.In("b", "c", "d", "e"))
// SELECT id, name ... FROM user WHERE a NOT IN (?, ?) AND b IN (?, ?, ?)
```
* Multiple operations in one go routine, no transation here but resue session memory
* Multiple operations in one go routine, no transaction here but resue session memory
```Go
session := engine.NewSession()
@ -336,7 +336,7 @@ if _, err := session.Exec("delete from userinfo where username = ?", user2.Usern
return nil
```
* Transation should be on one go routine. There is transaction and resue session memory
* Transaction should be on one go routine. There is transaction and resue session memory
```Go
session := engine.NewSession()