aboutsummaryrefslogtreecommitdiffstats
path: root/models/models.go
diff options
context:
space:
mode:
authorLunny Xiao <xiaolunwen@gmail.com>2016-11-10 15:20:48 +0800
committerLunny Xiao <xiaolunwen@gmail.com>2016-11-10 15:20:48 +0800
commit7dcc3bc3d7469770fa020c1728b43522afca42d5 (patch)
tree8c08c77f52ebbc07601524e4c217fb2dddd84ace /models/models.go
parent145648a2334ea4583cb51f2e95df2df366b17416 (diff)
downloadgitea-7dcc3bc3d7469770fa020c1728b43522afca42d5.tar.gz
gitea-7dcc3bc3d7469770fa020c1728b43522afca42d5.zip
use x.SQL instead of x.Sql
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 d6c30e1013..7714174707 100644
--- a/models/models.go
+++ b/models/models.go
@@ -33,7 +33,7 @@ type Engine interface {
Insert(...interface{}) (int64, error)
InsertOne(interface{}) (int64, error)
Iterate(interface{}, xorm.IterFunc) error
- Sql(string, ...interface{}) *xorm.Session
+ SQL(interface{}, ...interface{}) *xorm.Session
Where(interface{}, ...interface{}) *xorm.Session
}