Small optimization for getTeamIDs (#919)

* small optimization for getTeamIDs

* rename getOrgTeamIDs to getUserTeamIDs and remove orderby
This commit is contained in:
Lunny Xiao 2017-02-14 11:46:46 +08:00 committed by GitHub
parent 1ec6b1a258
commit 55ae78208e
2 changed files with 13 additions and 10 deletions

View file

@ -30,6 +30,7 @@ import (
// Engine represents a xorm engine or session.
type Engine interface {
Table(tableNameOrBean interface{}) *xorm.Session
Count(interface{}) (int64, error)
Decr(column string, arg ...interface{}) *xorm.Session
Delete(interface{}) (int64, error)