Merge branch 'develop' of https://github.com/astaxie/beego into develop

This commit is contained in:
astaxie 2016-02-02 12:45:01 +08:00
commit 16b01c362a
1 changed files with 4 additions and 0 deletions

View File

@ -148,6 +148,10 @@ type QuerySeter interface {
// add OFFSET value
// same as Limit function's args[0]
Offset(offset interface{}) QuerySeter
// add GROUP BY expression
// for example:
// qs.GroupBy("id")
GroupBy(exprs ...string) QuerySeter
// add ORDER expression.
// "column" means ASC, "-column" means DESC.
// for example: