mirror of
https://github.com/astaxie/beego.git
synced 2025-07-16 02:22:15 +00:00
orm fix for support custom field
This commit is contained in:
12
orm/types.go
12
orm/types.go
@@ -16,7 +16,6 @@ type Fielder interface {
|
||||
FieldType() int
|
||||
SetRaw(interface{}) error
|
||||
RawValue() interface{}
|
||||
Clean() error
|
||||
}
|
||||
|
||||
type Ormer interface {
|
||||
@@ -84,17 +83,6 @@ type RawSeter interface {
|
||||
Prepare() (RawPreparer, error)
|
||||
}
|
||||
|
||||
type IFieldError interface {
|
||||
Name() string
|
||||
Error() error
|
||||
}
|
||||
|
||||
type IFieldErrors interface {
|
||||
Get(string) IFieldError
|
||||
Set(string, IFieldError)
|
||||
List() []IFieldError
|
||||
}
|
||||
|
||||
type stmtQuerier interface {
|
||||
Close() error
|
||||
Exec(args ...interface{}) (sql.Result, error)
|
||||
|
Reference in New Issue
Block a user