diff options
author | Lunny Xiao <xiaolunwen@gmail.com> | 2017-02-11 20:01:33 +0800 |
---|---|---|
committer | Kim "BKC" Carlbäcker <kim.carlbacker@gmail.com> | 2017-02-12 06:46:51 +0100 |
commit | d76f34ef519f773ab66f2ba9f91c65a3aaf6537e (patch) | |
tree | 148008a128074bf6cecdd764a8130821a8080048 /models/models.go | |
parent | 3f676760599896f168e454d132b368658751974a (diff) | |
download | gitea-d76f34ef519f773ab66f2ba9f91c65a3aaf6537e.tar.gz gitea-d76f34ef519f773ab66f2ba9f91c65a3aaf6537e.zip |
small optimization for get issue labels
Diffstat (limited to 'models/models.go')
-rw-r--r-- | models/models.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/models/models.go b/models/models.go index 6590834037..7f0ef59547 100644 --- a/models/models.go +++ b/models/models.go @@ -42,6 +42,7 @@ type Engine interface { Insert(...interface{}) (int64, error) InsertOne(interface{}) (int64, error) Iterate(interface{}, xorm.IterFunc) error + Join(joinOperator string, tablename interface{}, condition string, args ...interface{}) *xorm.Session SQL(interface{}, ...interface{}) *xorm.Session Where(interface{}, ...interface{}) *xorm.Session } |