Merge branch 'master' of github.com:go-xorm/xorm

This commit is contained in:
Lunny Xiao 2016-10-10 15:08:52 +08:00
commit 539f1099db
1 changed files with 1 additions and 1 deletions

View File

@ -246,7 +246,7 @@ counts, err := engine.Count(&user)
```Go
err := engine.Where(builder.NotIn("a", 1, 2).And(builder.In("b", "c", "d", "e"))).Find(&users)
// SELECT id, name ... FROM user WHERE a NOT IN (?, ?) AND b IN (?, ?, ?)
``
```
# 案例