Small optimization for getTeamIDs (#919)

* small optimization for getTeamIDs

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

No files matched your search

+1
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)