summaryrefslogtreecommitdiffstats
path: root/models/models.go
diff options
context:
space:
mode:
Diffstat (limited to 'models/models.go')
-rw-r--r--models/models.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/models/models.go b/models/models.go
index 1f49640dd4..6590834037 100644
--- a/models/models.go
+++ b/models/models.go
@@ -30,6 +30,7 @@ import (
// Engine represents a xorm engine or session.
type Engine interface {
+ Count(interface{}) (int64, error)
Decr(column string, arg ...interface{}) *xorm.Session
Delete(interface{}) (int64, error)
Exec(string, ...interface{}) (sql.Result, error)