docs small improved

This commit is contained in:
Lunny Xiao 2014-04-23 14:57:40 +08:00
parent 129f77f43c
commit edbdf1e612
4 changed files with 4 additions and 10 deletions

View File

@ -123,13 +123,10 @@ Or
Please visit [Xorm on Google Groups](https://groups.google.com/forum/#!forum/xorm)
# Contributors
# Contributing
If you want to pull request, please see [CONTRIBUTING](https://github.com/go-xorm/xorm/blob/master/CONTRIBUTING.md)
* [Lunny](https://github.com/lunny)
* [Nashtsai](https://github.com/nashtsai)
# LICENSE
BSD License

View File

@ -124,13 +124,10 @@ xorm是一个简单而强大的Go语言ORM库. 通过它可以使数据库操作
请加入QQ群280360085 进行讨论。
# 贡献
## 贡献
如果您也想为Xorm贡献您的力量请查看 [CONTRIBUTING](https://github.com/go-xorm/xorm/blob/master/CONTRIBUTING.md)
* [Lunny](https://github.com/lunny)
* [Nashtsai](https://github.com/nashtsai)
## LICENSE
BSD License

View File

@ -385,7 +385,7 @@ engine.Cols("age", "name").Update(&user)
* Omit(...string)
和cols相反此函数指定排除某些指定的字段。注意此方法和Cols方法不可同时使用
```Go
engine.Cols("age").Update(&user)
engine.Omit("age").Update(&user)
// UPDATE user SET name = ? AND department = ?
```

View File

@ -419,7 +419,7 @@ engine.Cols("age", "name").Update(&user)
* Omit(...string)
和cols相反此函数指定排除某些指定的字段。注意此方法和Cols方法不可同时使用
```Go
engine.Cols("age").Update(&user)
engine.Omit("age").Update(&user)
// UPDATE user SET name = ? AND department = ?
```