summaryrefslogtreecommitdiffstats
path: root/models/models.go
diff options
context:
space:
mode:
Diffstat (limited to 'models/models.go')
-rw-r--r--models/models.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/models/models.go b/models/models.go
index 74680d847a..239a9cf280 100644
--- a/models/models.go
+++ b/models/models.go
@@ -44,6 +44,8 @@ type Engine interface {
SQL(interface{}, ...interface{}) *xorm.Session
Where(interface{}, ...interface{}) *xorm.Session
Asc(colNames ...string) *xorm.Session
+ Limit(limit int, start ...int) *xorm.Session
+ SumInt(bean interface{}, columnName string) (res int64, err error)
}
var (