mirror of
				https://gitee.com/gitea/gitea
				synced 2025-11-04 16:40:24 +08:00 
			
		
		
		
	Update xorm to latest version and fix correct user table referencing in sql (#4473)
				
					
				
			This commit is contained in:
		
							
								
								
									
										6
									
								
								vendor/github.com/go-xorm/xorm/interface.go
									
									
									
										generated
									
									
										vendored
									
									
								
							
							
						
						
									
										6
									
								
								vendor/github.com/go-xorm/xorm/interface.go
									
									
									
										generated
									
									
										vendored
									
									
								
							@@ -30,6 +30,7 @@ type Interface interface {
 | 
			
		||||
	Exec(string, ...interface{}) (sql.Result, error)
 | 
			
		||||
	Exist(bean ...interface{}) (bool, error)
 | 
			
		||||
	Find(interface{}, ...interface{}) error
 | 
			
		||||
	FindAndCount(interface{}, ...interface{}) (int64, error)
 | 
			
		||||
	Get(interface{}) (bool, error)
 | 
			
		||||
	GroupBy(keys string) *Session
 | 
			
		||||
	ID(interface{}) *Session
 | 
			
		||||
@@ -41,6 +42,7 @@ type Interface interface {
 | 
			
		||||
	IsTableExist(beanOrTableName interface{}) (bool, error)
 | 
			
		||||
	Iterate(interface{}, IterFunc) error
 | 
			
		||||
	Limit(int, ...int) *Session
 | 
			
		||||
	MustCols(columns ...string) *Session
 | 
			
		||||
	NoAutoCondition(...bool) *Session
 | 
			
		||||
	NotIn(string, ...interface{}) *Session
 | 
			
		||||
	Join(joinOperator string, tablename interface{}, condition string, args ...interface{}) *Session
 | 
			
		||||
@@ -75,6 +77,7 @@ type EngineInterface interface {
 | 
			
		||||
	Dialect() core.Dialect
 | 
			
		||||
	DropTables(...interface{}) error
 | 
			
		||||
	DumpAllToFile(fp string, tp ...core.DbType) error
 | 
			
		||||
	GetCacher(string) core.Cacher
 | 
			
		||||
	GetColumnMapper() core.IMapper
 | 
			
		||||
	GetDefaultCacher() core.Cacher
 | 
			
		||||
	GetTableMapper() core.IMapper
 | 
			
		||||
@@ -83,9 +86,11 @@ type EngineInterface interface {
 | 
			
		||||
	NewSession() *Session
 | 
			
		||||
	NoAutoTime() *Session
 | 
			
		||||
	Quote(string) string
 | 
			
		||||
	SetCacher(string, core.Cacher)
 | 
			
		||||
	SetDefaultCacher(core.Cacher)
 | 
			
		||||
	SetLogLevel(core.LogLevel)
 | 
			
		||||
	SetMapper(core.IMapper)
 | 
			
		||||
	SetSchema(string)
 | 
			
		||||
	SetTZDatabase(tz *time.Location)
 | 
			
		||||
	SetTZLocation(tz *time.Location)
 | 
			
		||||
	ShowSQL(show ...bool)
 | 
			
		||||
@@ -93,6 +98,7 @@ type EngineInterface interface {
 | 
			
		||||
	Sync2(...interface{}) error
 | 
			
		||||
	StoreEngine(storeEngine string) *Session
 | 
			
		||||
	TableInfo(bean interface{}) *Table
 | 
			
		||||
	TableName(interface{}, ...bool) string
 | 
			
		||||
	UnMapType(reflect.Type)
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user