1
1
mirror of https://github.com/go-gitea/gitea synced 2025-07-22 18:28:37 +00:00

Upgrade xorm to v1.0.4 (#12694)

This commit is contained in:
Lunny Xiao
2020-09-03 09:58:04 +08:00
committed by GitHub
parent 702e98c5ec
commit 514201af5d
9 changed files with 56 additions and 57 deletions

4
vendor/xorm.io/xorm/README.md generated vendored
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()