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, 1 insertions, 1 deletions
diff --git a/models/models.go b/models/models.go
index 481e53e36e..0cf422a9a1 100644
--- a/models/models.go
+++ b/models/models.go
@@ -34,7 +34,7 @@ type Engine interface {
InsertOne(interface{}) (int64, error)
Iterate(interface{}, xorm.IterFunc) error
Sql(string, ...interface{}) *xorm.Session
- Where(string, ...interface{}) *xorm.Session
+ Where(interface{}, ...interface{}) *xorm.Session
}
func sessionRelease(sess *xorm.Session) {